Package org.jf.dexlib2.writer.pool
Class AnnotationSetPool
- java.lang.Object
-
- org.jf.dexlib2.writer.pool.BasePool<Key,java.lang.Integer>
-
- org.jf.dexlib2.writer.pool.BaseOffsetPool<Key>
-
- org.jf.dexlib2.writer.pool.BaseNullableOffsetPool<java.util.Set<? extends Annotation>>
-
- org.jf.dexlib2.writer.pool.AnnotationSetPool
-
- All Implemented Interfaces:
AnnotationSetSection<Annotation,java.util.Set<? extends Annotation>>
,NullableOffsetSection<java.util.Set<? extends Annotation>>
,OffsetSection<java.util.Set<? extends Annotation>>
,Markable
public class AnnotationSetPool extends BaseNullableOffsetPool<java.util.Set<? extends Annotation>> implements AnnotationSetSection<Annotation,java.util.Set<? extends Annotation>>
-
-
Field Summary
-
Fields inherited from class org.jf.dexlib2.writer.pool.BasePool
dexPool, internedItems
-
-
Constructor Summary
Constructors Constructor Description AnnotationSetPool(DexPool dexPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<? extends Annotation>
getAnnotations(java.util.Set<? extends Annotation> annotations)
void
intern(java.util.Set<? extends Annotation> annotationSet)
-
Methods inherited from class org.jf.dexlib2.writer.pool.BaseNullableOffsetPool
getNullableItemOffset
-
Methods inherited from class org.jf.dexlib2.writer.pool.BaseOffsetPool
getItemOffset, getItems, getItemString
-
Methods inherited from class org.jf.dexlib2.writer.pool.BasePool
getItemCount, mark, reset
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.writer.NullableOffsetSection
getNullableItemOffset
-
Methods inherited from interface org.jf.dexlib2.writer.OffsetSection
getItemOffset, getItems
-
-
-
-
Constructor Detail
-
AnnotationSetPool
public AnnotationSetPool(@Nonnull DexPool dexPool)
-
-
Method Detail
-
intern
public void intern(@Nonnull java.util.Set<? extends Annotation> annotationSet)
-
getAnnotations
@Nonnull public java.util.Collection<? extends Annotation> getAnnotations(@Nonnull java.util.Set<? extends Annotation> annotations)
- Specified by:
getAnnotations
in interfaceAnnotationSetSection<Annotation,java.util.Set<? extends Annotation>>
-
-