public static enum JavaPath.ClsSrc extends Enum<JavaPath.ClsSrc>
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract String |
fileEnding()
Returns the ending of a class file or of a source file.
|
(package private) abstract String |
trimInnerClass(String clsName)
Returns the name of the class enclosing
clsName
(including clsName itself)
which has its own source/class-file. |
static JavaPath.ClsSrc |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaPath.ClsSrc[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaPath.ClsSrc Class
public static final JavaPath.ClsSrc Source
public static JavaPath.ClsSrc[] values()
for (JavaPath.ClsSrc c : JavaPath.ClsSrc.values()) System.out.println(c);
public static JavaPath.ClsSrc valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullabstract String fileEnding()
.class or .java.abstract String trimInnerClass(String clsName)
clsName
(including clsName itself)
which has its own source/class-file.clsName - the name of a class as a String value.clsName
(including clsName itself)
which has its own source/class-file.
Note that for class files,
this is just clsName itself,
whereas for source files the part of the classname
following JavaPath.INNER_CLASS_SEP is stripped off.Copyright © 2012–2018 Simuline Organization (l2r). All rights reserved.