public enum ClassType extends Enum<ClassType>
Enum Constant and Description |
---|
Annotation |
Class |
Enhancement |
Enum |
Eval |
Interface |
JavaClass |
Program |
Structure |
Template |
Unknown |
Modifier and Type | Method and Description |
---|---|
String |
getExt() |
static ClassType |
getFromFileName(String name) |
boolean |
isJava() |
boolean |
isOther() |
String |
keyword() |
static ClassType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassType Enhancement
public static final ClassType Program
public static final ClassType Template
public static final ClassType Eval
public static final ClassType Class
public static final ClassType Interface
public static final ClassType Structure
public static final ClassType Annotation
public static final ClassType Enum
public static final ClassType JavaClass
public static final ClassType Unknown
public static ClassType[] values()
for (ClassType c : ClassType.values()) System.out.println(c);
public static ClassType 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 nullpublic boolean isJava()
public boolean isOther()
public String getExt()
public String keyword()
Copyright © 2024. All rights reserved.