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 |
static JClassType[] |
NO_JCLASSES |
static JConstructor[] |
NO_JCTORS |
static JField[] |
NO_JFIELDS |
static JMethod[] |
NO_JMETHODS |
static JPackage[] |
NO_JPACKAGES |
static JParameter[] |
NO_JPARAMS |
static JType[] |
NO_JTYPES |
static String[][] |
NO_STRING_ARR_ARR |
static String[] |
NO_STRINGS |
Constructor and Description |
---|
Shared() |
Modifier and Type | Method and Description |
---|---|
static int |
bindingToModifierBits(org.eclipse.jdt.internal.compiler.lookup.FieldBinding binding) |
static int |
bindingToModifierBits(org.eclipse.jdt.internal.compiler.lookup.MethodBinding binding) |
static int |
bindingToModifierBits(org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding binding) |
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) |
static String |
makeTypeName(String packageName,
String shortName) |
static String |
readContent(InputStream content) |
static String |
readSource(Resource sourceFile) |
static String |
toInternalName(String path) |
static String |
toPath(String qualifiedTypeName) |
static String |
toTypeName(String 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 final JClassType[] NO_JCLASSES
public static final JConstructor[] NO_JCTORS
public static final JField[] NO_JFIELDS
public static final JMethod[] NO_JMETHODS
public static final JPackage[] NO_JPACKAGES
public static final JParameter[] NO_JPARAMS
public static final JType[] NO_JTYPES
public static final String[][] NO_STRING_ARR_ARR
public static final String[] NO_STRINGS
public static int bindingToModifierBits(org.eclipse.jdt.internal.compiler.lookup.FieldBinding binding)
public static int bindingToModifierBits(org.eclipse.jdt.internal.compiler.lookup.MethodBinding binding)
public static int bindingToModifierBits(org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding binding)
public static String readContent(InputStream content)
public static String readSource(Resource sourceFile) throws IOException
IOException
Copyright © 2018. All rights reserved.