Package org.jf.dexlib2.writer.pool
Class ProtoPool
- java.lang.Object
-
- org.jf.dexlib2.writer.pool.BasePool<Key,java.lang.Integer>
-
- org.jf.dexlib2.writer.pool.BaseIndexPool<MethodProtoReference>
-
- org.jf.dexlib2.writer.pool.ProtoPool
-
- All Implemented Interfaces:
IndexSection<MethodProtoReference>,Markable,ProtoSection<java.lang.CharSequence,java.lang.CharSequence,MethodProtoReference,TypeListPool.Key<? extends java.util.Collection<? extends java.lang.CharSequence>>>
public class ProtoPool extends BaseIndexPool<MethodProtoReference> implements ProtoSection<java.lang.CharSequence,java.lang.CharSequence,MethodProtoReference,TypeListPool.Key<? extends java.util.Collection<? extends java.lang.CharSequence>>>
-
-
Field Summary
-
Fields inherited from class org.jf.dexlib2.writer.pool.BasePool
dexPool, internedItems
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeListPool.Key<java.util.List<? extends java.lang.CharSequence>>getParameters(MethodProtoReference methodProto)java.lang.CharSequencegetReturnType(MethodProtoReference protoReference)java.lang.CharSequencegetShorty(MethodProtoReference reference)voidintern(MethodProtoReference reference)-
Methods inherited from class org.jf.dexlib2.writer.pool.BaseIndexPool
getItemIndex, 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.IndexSection
getItemCount, getItemIndex, getItems
-
-
-
-
Constructor Detail
-
ProtoPool
public ProtoPool(@Nonnull DexPool dexPool)
-
-
Method Detail
-
intern
public void intern(@Nonnull MethodProtoReference reference)
-
getShorty
@Nonnull public java.lang.CharSequence getShorty(@Nonnull MethodProtoReference reference)- Specified by:
getShortyin interfaceProtoSection<java.lang.CharSequence,java.lang.CharSequence,MethodProtoReference,TypeListPool.Key<? extends java.util.Collection<? extends java.lang.CharSequence>>>
-
getReturnType
@Nonnull public java.lang.CharSequence getReturnType(@Nonnull MethodProtoReference protoReference)- Specified by:
getReturnTypein interfaceProtoSection<java.lang.CharSequence,java.lang.CharSequence,MethodProtoReference,TypeListPool.Key<? extends java.util.Collection<? extends java.lang.CharSequence>>>
-
getParameters
@Nullable public TypeListPool.Key<java.util.List<? extends java.lang.CharSequence>> getParameters(@Nonnull MethodProtoReference methodProto)
- Specified by:
getParametersin interfaceProtoSection<java.lang.CharSequence,java.lang.CharSequence,MethodProtoReference,TypeListPool.Key<? extends java.util.Collection<? extends java.lang.CharSequence>>>
-
-