Class ClassDecl
java.lang.Object
net.covers1624.coffeegrinder.bytecode.Instruction
net.covers1624.coffeegrinder.bytecode.insns.ClassDecl
- All Implemented Interfaces:
net.covers1624.quack.util.Copyable<Instruction>
Created by covers1624 on 4/5/21.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class net.covers1624.coffeegrinder.bytecode.Instruction
opcode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(InsnVisitor<R, C> visitor, C ctx) Pass thisInstructionthrough the suppliedInsnVisitor.@Nullable FieldDecl@Nullable FieldDecl@Nullable MethodDeclfindMethod(String name, org.objectweb.asm.Type desc) @Nullable MethodDeclfindMethod(Method method) net.covers1624.quack.collection.FastStream<ClassDecl> getClazz()Any direct flags for thisInstruction.net.covers1624.quack.collection.FastStream<FieldDecl> net.covers1624.quack.collection.FastStream<MethodDecl> Gets the stack type of the value produced by thisInstruction.voidonParsed()voidMethods inherited from class net.covers1624.coffeegrinder.bytecode.Instruction
accept, addRef, ancestorsOfType, computeFlags, copy, descendantsMatching, descendantsOfType, descendantsToList, descendantsToListWhere, descendantsWhere, firstAncestorOfType, getBytecodeOffset, getChildren, getDescendants, getFirstChild, getFirstChildOrNull, getFlags, getLastChild, getLastChildOrNull, getNextSibling, getNextSiblingOrNull, getParent, getParentOrNull, getPrevSibling, getPrevSiblingOrNull, getSourceLine, getTag, hasDirectFlag, hasFlag, insertAfter, insertBefore, invalidateFlags, isConnected, isDescendantOf, onChildModified, onConnected, onDisconnected, releaseRef, remove, replaceWith, setBytecodeOffset, setOffsets, setSourceLine, setTag, toString, toString, withOffsets
-
Field Details
-
members
-
recordComponents
-
canonicalCtor
-
-
Constructor Details
-
ClassDecl
-
-
Method Details
-
getResultType
Description copied from class:InstructionGets the stack type of the value produced by thisInstruction.- Specified by:
getResultTypein classInstruction- Returns:
- The
AType.
-
getDirectFlags
Description copied from class:InstructionAny direct flags for thisInstruction.The return value should be cached statically inside the
Instructionimpl.- Specified by:
getDirectFlagsin classInstruction- Returns:
- An
EnumBitSetrepresenting the flags. - See Also:
-
accept
Description copied from class:InstructionPass thisInstructionthrough the suppliedInsnVisitor.- Specified by:
acceptin classInstruction- Parameters:
visitor- TheInsnVisitor.ctx- The context.- Returns:
- The return result from the
InsnVisitor.
-
getClazz
-
getFieldMembers
-
getMethodMembers
-
getClassMembers
-
setClazz
-
findField
-
findField
-
getField
-
onParsed
public void onParsed() -
getNestedClasses
-
getMethodLookup
-
findMethod
-
findMethod
-
getMethod
-
getMethod
-