Class SourceAttribute
java.lang.Object
com.strobel.assembler.ir.attributes.SourceAttribute
- Direct Known Subclasses:
AnnotationDefaultAttribute,AnnotationsAttribute,BlobAttribute,BootstrapMethodsAttribute,CodeAttribute,ConstantValueAttribute,EnclosingMethodAttribute,ExceptionsAttribute,InnerClassesAttribute,LineNumberTableAttribute,LocalVariableTableAttribute,MethodParametersAttribute,ModuleAttribute,ModuleMainClassAttribute,ModulePackagesAttribute,ModuleTargetAttribute,ParameterAnnotationsAttribute,PermittedSubclassesAttribute,RecordAttribute,SignatureAttribute,SourceFileAttribute
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceAttributestatic <T extends SourceAttribute>
Tfind(String name, SourceAttribute... attributes) static <T extends SourceAttribute>
Tfind(String name, List<SourceAttribute> attributes) final intfinal StringgetName()static SourceAttributereadAttribute(IMetadataResolver resolver, IMetadataScope scope, Buffer buffer) static voidreadAttributes(IMetadataResolver resolver, IMetadataScope scope, Buffer input, SourceAttribute[] attributes)
-
Field Details
-
_name
-
_length
private final int _length
-
-
Constructor Details
-
SourceAttribute
-
-
Method Details
-
getName
-
getLength
public final int getLength() -
create
-
find
-
find
-
readAttributes
public static void readAttributes(IMetadataResolver resolver, IMetadataScope scope, Buffer input, SourceAttribute[] attributes) -
readAttribute
public static SourceAttribute readAttribute(IMetadataResolver resolver, IMetadataScope scope, Buffer buffer)
-