Codota Logo
TypeListPool$Key
Code IndexAdd Codota to your IDE (free)

How to use
TypeListPool$Key
in
org.jf.dexlib2.writer.pool

Best Java code snippets using org.jf.dexlib2.writer.pool.TypeListPool$Key (Showing top 9 results out of 315)

origin: testwhat/SmaliEx

PoolClassDef(@Nonnull ClassDef classDef) {
  this.classDef = classDef;
  interfaces = new TypeListPool.Key<List<String>>(ImmutableList.copyOf(classDef.getInterfaces()));
  staticFields = ImmutableSortedSet.copyOf(classDef.getStaticFields());
  instanceFields = ImmutableSortedSet.copyOf(classDef.getInstanceFields());
  directMethods = ImmutableSortedSet.copyOf(
      Iterables.transform(classDef.getDirectMethods(), PoolMethod.TRANSFORM));
  virtualMethods = ImmutableSortedSet.copyOf(
      Iterables.transform(classDef.getVirtualMethods(), PoolMethod.TRANSFORM));
}
origin: KB5201314/ZjDroid

public void intern(@Nonnull Collection<? extends CharSequence> types) {
  if (types.size() > 0) {
    Key<? extends Collection<? extends CharSequence>> key = new Key<Collection<? extends CharSequence>>(types);
    Integer prev = internedItems.put(key, 0);
    if (prev == null) {
      for (CharSequence type: types) {
        typePool.intern(type);
      }
    }
  }
}
origin: KB5201314/ZjDroid

PoolClassDef(@Nonnull ClassDef classDef) {
  this.classDef = classDef;
  interfaces = new TypeListPool.Key<SortedSet<String>>(ImmutableSortedSet.copyOf(classDef.getInterfaces()));
  staticFields = ImmutableSortedSet.copyOf(classDef.getStaticFields());
  instanceFields = ImmutableSortedSet.copyOf(classDef.getInstanceFields());
  directMethods = ImmutableSortedSet.copyOf(
      Iterables.transform(classDef.getDirectMethods(), PoolMethod.TRANSFORM));
  virtualMethods = ImmutableSortedSet.copyOf(
      Iterables.transform(classDef.getVirtualMethods(), PoolMethod.TRANSFORM));
}
origin: org.smali/dexlib2

PoolClassDef(@Nonnull ClassDef classDef) {
  this.classDef = classDef;
  interfaces = new TypeListPool.Key<List<String>>(ImmutableList.copyOf(classDef.getInterfaces()));
  staticFields = ImmutableSortedSet.copyOf(classDef.getStaticFields());
  instanceFields = ImmutableSortedSet.copyOf(classDef.getInstanceFields());
  directMethods = ImmutableSortedSet.copyOf(
      Iterables.transform(classDef.getDirectMethods(), PoolMethod.TRANSFORM));
  virtualMethods = ImmutableSortedSet.copyOf(
      Iterables.transform(classDef.getVirtualMethods(), PoolMethod.TRANSFORM));
}
origin: org.smali/dexlib2

  @Nullable @Override public TypeListPool.Key<List<? extends CharSequence>> getParameters(
      @Nonnull MethodProtoReference methodProto) {
    return new TypeListPool.Key<List<? extends CharSequence>>(methodProto.getParameterTypes());
  }
}
origin: testwhat/SmaliEx

  @Nullable @Override public TypeListPool.Key<List<? extends CharSequence>> getParameters(
      @Nonnull MethodProtoReference methodProto) {
    return new TypeListPool.Key<List<? extends CharSequence>>(methodProto.getParameterTypes());
  }
}
origin: testwhat/SmaliEx

public void intern(@Nonnull Collection<? extends CharSequence> types) {
  if (types.size() > 0) {
    Key<? extends Collection<? extends CharSequence>> key = new Key<Collection<? extends CharSequence>>(types);
    Integer prev = internedItems.put(key, 0);
    if (prev == null) {
      for (CharSequence type: types) {
        dexPool.typeSection.intern(type);
      }
    }
  }
}
origin: org.smali/dexlib2

public void intern(@Nonnull Collection<? extends CharSequence> types) {
  if (types.size() > 0) {
    Key<? extends Collection<? extends CharSequence>> key = new Key<Collection<? extends CharSequence>>(types);
    Integer prev = internedItems.put(key, 0);
    if (prev == null) {
      for (CharSequence type: types) {
        dexPool.typeSection.intern(type);
      }
    }
  }
}
origin: KB5201314/ZjDroid

@Nullable @Override public TypeListPool.Key<List<? extends CharSequence>> getParameters(@Nonnull Key key) {
  return new TypeListPool.Key<List<? extends CharSequence>>(key.getParameters());
}
org.jf.dexlib2.writer.poolTypeListPool$Key

Most used methods

  • <init>

Popular in Java

  • Making http requests using okhttp
  • getContentResolver (Context)
  • startActivity (Activity)
  • putExtra (Intent)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JFrame (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now