Class ByteRuntimeIndex
- java.lang.Object
-
- org.wildfly.experimental.api.classpath.index.ByteRuntimeIndex
-
public class ByteRuntimeIndex extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classByteRuntimeIndex.ByteArrayKey
-
Field Summary
Fields Modifier and Type Field Description static ByteRuntimeIndex.ByteArrayKeyBYTECODE_CONSTRUCTOR_KEYstatic StringBYTECODE_CONSTRUCTOR_NAMEstatic ByteRuntimeIndex.ByteArrayKeyJAVA_LANG_OBJECT_KEY
-
Method Summary
-
-
-
Field Detail
-
BYTECODE_CONSTRUCTOR_NAME
public static final String BYTECODE_CONSTRUCTOR_NAME
- See Also:
- Constant Field Values
-
JAVA_LANG_OBJECT_KEY
public static final ByteRuntimeIndex.ByteArrayKey JAVA_LANG_OBJECT_KEY
-
BYTECODE_CONSTRUCTOR_KEY
public static final ByteRuntimeIndex.ByteArrayKey BYTECODE_CONSTRUCTOR_KEY
-
-
Method Detail
-
load
public static ByteRuntimeIndex load(Path indexFile, Path... additional) throws IOException
- Throws:
IOException
-
load
public static ByteRuntimeIndex load(List<URL> urls) throws IOException
- Throws:
IOException
-
getAnnotationsForClass
public Set<String> getAnnotationsForClass(ByteRuntimeIndex.ByteArrayKey key)
-
getAnnotationsForMethod
public Set<String> getAnnotationsForMethod(ByteRuntimeIndex.ByteArrayKey methodClass, Supplier<ByteRuntimeIndex.ByteArrayKey> methodName, Supplier<ByteRuntimeIndex.ByteArrayKey> methodDescriptor)
-
getAnnotationsForField
public Set<String> getAnnotationsForField(ByteRuntimeIndex.ByteArrayKey fieldClass, Supplier<ByteRuntimeIndex.ByteArrayKey> fieldName)
-
getClassNameFromKey
public String getClassNameFromKey(ByteRuntimeIndex.ByteArrayKey key)
-
getFieldNameFromKey
public String getFieldNameFromKey(ByteRuntimeIndex.ByteArrayKey key)
-
getMethodNameFromKey
public String getMethodNameFromKey(ByteRuntimeIndex.ByteArrayKey key)
-
getMethodDescriptorsFromKey
public String getMethodDescriptorsFromKey(ByteRuntimeIndex.ByteArrayKey key)
-
-