Package eu.bandm.tools.lljava.codec
Class Decoder
java.lang.Object
eu.bandm.tools.lljava.codec.Decoder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected static interfaceprotected classprotected static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ReferenceTypeExprarrayClassRef(int index) protected ClassReferenceclassRef(boolean optional, int index) protected QualIdclassRefName(boolean optional, int index) decode(InputStream in) protected voidprotected voidprotected Classprotected voidprotected voidprotected voidprotected voidprotected Fieldprotected TypeExprprotected TypeExprdecodeFieldDescriptor(String text) protected HandleKinddecodeHandleKind(byte kind) protected voidprotected Methodprotected ResultExprprotected voidprotected voiddeferInvokeDynamic(int index, int bootstrapMethodIndex, int nameAndTypeIndex) protected voidprotected FieldReferencefieldRef(int index) protected AbstractMethodRefgetAbstractMethodRef(int index) protected ClassRefgetClassRef(int index) protected FieldRefgetFieldRef(int index) protected NameAndTypegetNameAndType(int index) protected ConstantUTF8getUtf8(int index) protected Idprotected MethodReferenceinvokeDynamic(int index) protected <A extends ConstantPoolEntry,B extends ConstantPoolEntry>
Decoder.LazyPoolEntrylazy(BiFunction<? super A, ? super B, ? extends ConstantPoolEntry> fun, Class<A> type1, Class<B> type2) protected <A extends ConstantPoolEntry>
Decoder.LazyPoolEntrylazy(Function<? super A, ? extends ConstantPoolEntry> fun, Class<A> type1) protected <A> List<A> list(Decoder.IOSupplier<? extends A> body) protected Literalliteral(int index) protected Literalprotected LoadableExprloadable(int index) protected LoadableExprprotected MethodReferencemethodRef(int index) protected QualIdprotected MethodReferenceunparse(AbstractMethodRef ref) protected FieldReference
-
Field Details
-
signatureParser
-
-
Constructor Details
-
Decoder
public Decoder()
-
-
Method Details
-
decode
- Throws:
IOException
-
decodeHead
- Throws:
IOException
-
decodeConstantPool
- Throws:
IOException
-
lazy
protected <A extends ConstantPoolEntry> Decoder.LazyPoolEntry lazy(Function<? super A, ? extends ConstantPoolEntry> fun, Class<A> type1) throws IOException- Throws:
IOException
-
lazy
protected <A extends ConstantPoolEntry,B extends ConstantPoolEntry> Decoder.LazyPoolEntry lazy(BiFunction<? super A, ? super B, throws IOException? extends ConstantPoolEntry> fun, Class<A> type1, Class<B> type2) - Throws:
IOException
-
deferInvokeDynamic
protected void deferInvokeDynamic(int index, int bootstrapMethodIndex, int nameAndTypeIndex) -
decodeHandleKind
-
getUtf8
-
getClassRef
-
getFieldRef
-
getAbstractMethodRef
-
getNameAndType
-
list
- Throws:
IOException
-
decodeClass
- Throws:
IOException
-
classRef
- Throws:
IOException
-
arrayClassRef
- Throws:
IOException
-
classRefName
- Throws:
IOException
-
fieldRef
-
unparse
-
methodRef
-
unparse
-
invokeDynamic
-
decodeField
- Throws:
IOException
-
decodeMethod
- Throws:
IOException
-
decodeAttributes
- Throws:
IOException
-
decodeConstantValueAttribute
- Throws:
IOException
-
decodeExceptionsAttribute
- Throws:
IOException
-
decodeCodeAttribute
- Throws:
IOException
-
decodeSignatureAttribute
- Throws:
IOException
-
decodeBootstrapMethodsAttribute
- Throws:
IOException
-
modifiers
-
qualId
-
id
-
loadable
-
loadable
-
literal
-
literal
-
decodeFieldDescriptor
-
decodeFieldDescriptor
-
decodeMethodDescriptorResult
-
decodeMethodDescriptorParameters
-
error
-