Java Class Name Extract extractClassNames(Class[] classArray)

Here you can find the source of extractClassNames(Class[] classArray)

Description

extract Class Names

License

Apache License

Declaration

public static String[] extractClassNames(Class[] classArray) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String[] extractClassNames(Class[] classArray) {
        String[] array = new String[classArray.length];
        for (int i = 0; i < classArray.length; i++) {
            array[i] = classArray[i].getName();
        }//from   w  w w.j a  v  a 2  s . co  m
        return array;
    }
}

Related

  1. extractClassName(String fullyQualifiedClassName)
  2. extractClassName(String javaSource)
  3. extractClassName(String methodName)
  4. extractClassName(String qualifiedName)
  5. extractClassNameFromArray(final String arrayName)
  6. extractClassNameWithoutPackage(String className)
  7. extractClassNameWithParent(String fullClassName)