Package org.jf.dexlib2.writer
Interface ClassSection<StringKey extends CharSequence,TypeKey extends CharSequence,TypeListKey,ClassKey,FieldKey,MethodKey,AnnotationSetKey,EncodedArrayKey>
- All Superinterfaces:
IndexSection<ClassKey>
- All Known Implementing Classes:
BuilderClassPool,ClassPool
public interface ClassSection<StringKey extends CharSequence,TypeKey extends CharSequence,TypeListKey,ClassKey,FieldKey,MethodKey,AnnotationSetKey,EncodedArrayKey>
extends IndexSection<ClassKey>
-
Method Summary
Modifier and TypeMethodDescriptionintgetAccessFlags(ClassKey key) intintintgetDebugItems(MethodKey key) getExceptionType(ExceptionHandler handler) intIterable<? extends Instruction> getInstructions(MethodKey key) getInterfaces(ClassKey key) intList<? extends AnnotationSetKey> intCollection<? extends ClassKey> Collection<? extends MethodKey> Collection<? extends FieldKey> getSortedFields(ClassKey key) Collection<? extends FieldKey> Collection<? extends MethodKey> getSortedMethods(ClassKey key) Collection<? extends FieldKey> Collection<? extends MethodKey> getSourceFile(ClassKey key) getSuperclass(ClassKey key) List<? extends TryBlock<? extends ExceptionHandler>> getTryBlocks(MethodKey key) voidsetAnnotationDirectoryOffset(ClassKey key, int offset) voidsetAnnotationSetRefListOffset(MethodKey key, int offset) voidsetCodeItemOffset(MethodKey key, int offset) voidwriteDebugItem(DebugWriter<StringKey, TypeKey> writer, DebugItem debugItem) Methods inherited from interface org.jf.dexlib2.writer.IndexSection
getItemCount, getItemIndex, getItems
-
Method Details
-
getSortedClasses
-
getClassEntryByType
-
getType
-
getAccessFlags
-
getSuperclass
-
getInterfaces
-
getSourceFile
-
getStaticInitializers
-
getSortedStaticFields
-
getSortedInstanceFields
-
getSortedFields
-
getSortedDirectMethods
-
getSortedVirtualMethods
-
getSortedMethods
-
getFieldAccessFlags
-
getMethodAccessFlags
-
getFieldHiddenApiRestrictions
-
getMethodHiddenApiRestrictions
-
getClassAnnotations
-
getFieldAnnotations
-
getMethodAnnotations
-
getParameterAnnotations
-
getDebugItems
-
getParameterNames
-
getRegisterCount
-
getInstructions
-
getTryBlocks
-
getExceptionType
-
makeMutableMethodImplementation
-
setAnnotationDirectoryOffset
-
getAnnotationDirectoryOffset
-
setAnnotationSetRefListOffset
-
getAnnotationSetRefListOffset
-
setCodeItemOffset
-
getCodeItemOffset
-
writeDebugItem
void writeDebugItem(@Nonnull DebugWriter<StringKey, TypeKey> writer, DebugItem debugItem) throws IOException- Throws:
IOException
-