public static enum ReflectionUtils.PackageType extends Enum<ReflectionUtils.PackageType>
Modifier and Type | Method and Description |
---|---|
Class<?> |
getClass(String className) |
String |
getPath() |
static String |
getServerVersion() |
String |
toString() |
static ReflectionUtils.PackageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReflectionUtils.PackageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReflectionUtils.PackageType MINECRAFT_SERVER
public static final ReflectionUtils.PackageType CRAFTBUKKIT
public static final ReflectionUtils.PackageType CRAFTBUKKIT_BLOCK
public static final ReflectionUtils.PackageType CRAFTBUKKIT_CHUNKIO
public static final ReflectionUtils.PackageType CRAFTBUKKIT_COMMAND
public static final ReflectionUtils.PackageType CRAFTBUKKIT_CONVERSATIONS
public static final ReflectionUtils.PackageType CRAFTBUKKIT_ENCHANTMENS
public static final ReflectionUtils.PackageType CRAFTBUKKIT_ENTITY
public static final ReflectionUtils.PackageType CRAFTBUKKIT_EVENT
public static final ReflectionUtils.PackageType CRAFTBUKKIT_GENERATOR
public static final ReflectionUtils.PackageType CRAFTBUKKIT_HELP
public static final ReflectionUtils.PackageType CRAFTBUKKIT_INVENTORY
public static final ReflectionUtils.PackageType CRAFTBUKKIT_MAP
public static final ReflectionUtils.PackageType CRAFTBUKKIT_METADATA
public static final ReflectionUtils.PackageType CRAFTBUKKIT_POTION
public static final ReflectionUtils.PackageType CRAFTBUKKIT_PROJECTILES
public static final ReflectionUtils.PackageType CRAFTBUKKIT_SCHEDULER
public static final ReflectionUtils.PackageType CRAFTBUKKIT_SCOREBOARD
public static final ReflectionUtils.PackageType CRAFTBUKKIT_UPDATER
public static final ReflectionUtils.PackageType CRAFTBUKKIT_UTIL
public static ReflectionUtils.PackageType[] values()
for (ReflectionUtils.PackageType c : ReflectionUtils.PackageType.values()) System.out.println(c);
public static ReflectionUtils.PackageType 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 String getPath()
public Class<?> getClass(String className) throws ClassNotFoundException
ClassNotFoundException
public String toString()
toString
in class Enum<ReflectionUtils.PackageType>
public static String getServerVersion()
Copyright © 2020. All rights reserved.