Codota Logo
BuilderAnnotation
Code IndexAdd Codota to your IDE (free)

How to use
BuilderAnnotation
in
org.jf.dexlib2.writer.builder

Best Java code snippets using org.jf.dexlib2.writer.builder.BuilderAnnotation (Showing top 3 results out of 315)

  • Common ways to obtain BuilderAnnotation
private void myMethod () {
BuilderAnnotation b =
  • Codota IconConcurrentMap concurrentMap;Object object;concurrentMap.get(object)
  • Codota IconBuilderAnnotationPool builderAnnotationPool;Annotation annotation;builderAnnotationPool.internAnnotation(annotation)
  • Smart code suggestions by Codota
}
origin: testwhat/SmaliEx

@Nonnull public BuilderAnnotation internAnnotation(@Nonnull Annotation annotation) {
  BuilderAnnotation ret = internedItems.get(annotation);
  if (ret != null) {
    return ret;
  }
  BuilderAnnotation dexBuilderAnnotation = new BuilderAnnotation(
      annotation.getVisibility(),
      dexBuilder.typeSection.internType(annotation.getType()),
      dexBuilder.internAnnotationElements(annotation.getElements()));
  ret = internedItems.putIfAbsent(dexBuilderAnnotation, dexBuilderAnnotation);
  return ret==null?dexBuilderAnnotation:ret;
}
origin: KB5201314/ZjDroid

@Nonnull public BuilderAnnotation internAnnotation(@Nonnull Annotation annotation) {
  BuilderAnnotation ret = internedItems.get(annotation);
  if (ret != null) {
    return ret;
  }
  BuilderAnnotation dexBuilderAnnotation = new BuilderAnnotation(
      annotation.getVisibility(),
      context.typePool.internType(annotation.getType()),
      context.internAnnotationElements(annotation.getElements()));
  ret = internedItems.putIfAbsent(dexBuilderAnnotation, dexBuilderAnnotation);
  return ret==null?dexBuilderAnnotation:ret;
}
origin: org.smali/dexlib2

@Nonnull public BuilderAnnotation internAnnotation(@Nonnull Annotation annotation) {
  BuilderAnnotation ret = internedItems.get(annotation);
  if (ret != null) {
    return ret;
  }
  BuilderAnnotation dexBuilderAnnotation = new BuilderAnnotation(
      annotation.getVisibility(),
      dexBuilder.typeSection.internType(annotation.getType()),
      dexBuilder.internAnnotationElements(annotation.getElements()));
  ret = internedItems.putIfAbsent(dexBuilderAnnotation, dexBuilderAnnotation);
  return ret==null?dexBuilderAnnotation:ret;
}
org.jf.dexlib2.writer.builderBuilderAnnotation

Most used methods

  • <init>

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • findViewById (Activity)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
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