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 LLJava.ReferenceTypeExprarrayClassRef(int index) protected LLJava.ClassReferenceclassRef(boolean optional, int index) protected LLJava.QualIdclassRefName(boolean optional, int index) decode(InputStream in) protected voidprotected voidprotected LLJava.Classprotected voidprotected voidprotected voidprotected voidprotected LLJava.Fieldprotected LLJava.TypeExprprotected LLJava.TypeExprdecodeFieldDescriptor(String text) protected LLJava.HandleKinddecodeHandleKind(byte kind) protected voidprotected LLJava.Methodprotected List<LLJava.TypeExpr> protected LLJava.ResultExprprotected voidprotected voiddeferInvokeDynamic(int index, int bootstrapMethodIndex, int nameAndTypeIndex) protected voidprotected LLJava.FieldReferencefieldRef(int index) protected LLJava.AbstractMethodRefgetAbstractMethodRef(int index) protected LLJava.ClassRefgetClassRef(int index) protected LLJava.FieldRefgetFieldRef(int index) protected LLJava.NameAndTypegetNameAndType(int index) protected LLJava.ConstantUTF8getUtf8(int index) protected LLJava.Idprotected LLJava.MethodReferenceinvokeDynamic(int index) protected <A extends LLJava.ConstantPoolEntry,B extends LLJava.ConstantPoolEntry>
Decoder.LazyPoolEntrylazy(BiFunction<? super A, ? super B, ? extends LLJava.ConstantPoolEntry> fun, Class<A> type1, Class<B> type2) protected <A extends LLJava.ConstantPoolEntry>
Decoder.LazyPoolEntrylazy(Function<? super A, ? extends LLJava.ConstantPoolEntry> fun, Class<A> type1) protected <A> List<A> list(Decoder.IOSupplier<? extends A> body) protected LLJava.Literalliteral(int index) protected LLJava.Literalliteral(LLJava.Loadable entry) protected LLJava.LoadableExprloadable(int index) protected LLJava.LoadableExprloadable(LLJava.Loadable entry) static voidprotected LLJava.MethodReferencemethodRef(int index) protected Set<LLJava.Modifier> modifiers(Map<LLJava.Modifier, Integer> map, int accessFlags) protected LLJava.QualIdprotected LLJava.MethodReferenceprotected LLJava.FieldReferenceunparse(LLJava.FieldRef ref)
-
Field Details
-
signatureParser
-
-
Constructor Details
-
Decoder
public Decoder()
-
-
Method Details
-
decode
- Throws:
IOException
-
decodeHead
- Throws:
IOException
-
decodeConstantPool
- Throws:
IOException
-
lazy
protected <A extends LLJava.ConstantPoolEntry> Decoder.LazyPoolEntry lazy(Function<? super A, ? extends LLJava.ConstantPoolEntry> fun, Class<A> type1) throws IOException- Throws:
IOException
-
lazy
protected <A extends LLJava.ConstantPoolEntry,B extends LLJava.ConstantPoolEntry> Decoder.LazyPoolEntry lazy(BiFunction<? super A, ? super B, throws IOException? extends LLJava.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
-
main
- Throws:
IOException
-