public class Shared extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MOD_ABSTRACT |
static int |
MOD_FINAL |
static int |
MOD_NATIVE |
static int |
MOD_PRIVATE |
static int |
MOD_PROTECTED |
static int |
MOD_PUBLIC |
static int |
MOD_STATIC |
static int |
MOD_TRANSIENT |
static int |
MOD_VOLATILE |
Constructor and Description |
---|
Shared() |
Modifier and Type | Method and Description |
---|---|
static String |
getPackageName(String qualifiedTypeName) |
static String |
getPackageNameFromBinary(String binaryName) |
static String |
getShortName(String qualifiedTypeName) |
static String |
getSlashedPackageFrom(String internalName) |
static String |
getTypeName(Resource sourceFile)
Returns the source name of the Java type defined within the given source Resource.
|
static String |
makeTypeName(String packageName,
String shortName) |
static String |
readSource(Resource sourceFile) |
static String |
toPath(String qualifiedTypeName) |
static String |
toTypeName(String path)
Returns the source name of the type defined within the given path.
|
public static final int MOD_ABSTRACT
public static final int MOD_FINAL
public static final int MOD_NATIVE
public static final int MOD_PRIVATE
public static final int MOD_PROTECTED
public static final int MOD_PUBLIC
public static final int MOD_STATIC
public static final int MOD_TRANSIENT
public static final int MOD_VOLATILE
public static String getTypeName(Resource sourceFile)
public static String readSource(Resource sourceFile) throws IOException
IOException
Copyright © 2018. All rights reserved.