Tabnine Logo
MethodUtil.getShorty
Code IndexAdd Tabnine to your IDE (free)

How to use
getShorty
method
in
org.jf.dexlib2.util.MethodUtil

Best Java code snippets using org.jf.dexlib2.util.MethodUtil.getShorty (Showing top 6 results out of 315)

origin: testwhat/SmaliEx

@Nonnull @Override public CharSequence getShorty(@Nonnull MethodProtoReference reference) {
  return MethodUtil.getShorty(reference.getParameterTypes(), reference.getReturnType());
}
origin: org.smali/dexlib2

@Nonnull @Override public CharSequence getShorty(@Nonnull MethodProtoReference reference) {
  return MethodUtil.getShorty(reference.getParameterTypes(), reference.getReturnType());
}
origin: KB5201314/ZjDroid

@Nonnull public BuilderProtoReference internProto(@Nonnull List<? extends CharSequence> parameters,
                         @Nonnull String returnType) {
  ProtoKey key = new Key(parameters, returnType);
  BuilderProtoReference ret = internedItems.get(key);
  if (ret != null) {
    return ret;
  }
  BuilderProtoReference protoReference = new BuilderProtoReference(
      context.stringPool.internString(MethodUtil.getShorty(parameters, returnType)),
      context.typeListPool.internTypeList(parameters),
      context.typePool.internType(returnType));
  ret = internedItems.putIfAbsent(protoReference, protoReference);
  return ret==null?protoReference:ret;
}
origin: KB5201314/ZjDroid

public String getShorty() {
  return MethodUtil.getShorty(method.getParameterTypes(), method.getReturnType());
}
origin: testwhat/SmaliEx

@Nonnull public BuilderMethodProtoReference internMethodProto(@Nonnull MethodProtoReference methodProto) {
  BuilderMethodProtoReference ret = internedItems.get(methodProto);
  if (ret != null) {
    return ret;
  }
  BuilderMethodProtoReference protoReference = new BuilderMethodProtoReference(
      dexBuilder.stringSection.internString(MethodUtil.getShorty(
          methodProto.getParameterTypes(), methodProto.getReturnType())),
      dexBuilder.typeListSection.internTypeList(methodProto.getParameterTypes()),
      dexBuilder.typeSection.internType(methodProto.getReturnType()));
  ret = internedItems.putIfAbsent(protoReference, protoReference);
  return ret==null?protoReference:ret;
}
origin: org.smali/dexlib2

@Nonnull public BuilderMethodProtoReference internMethodProto(@Nonnull MethodProtoReference methodProto) {
  BuilderMethodProtoReference ret = internedItems.get(methodProto);
  if (ret != null) {
    return ret;
  }
  BuilderMethodProtoReference protoReference = new BuilderMethodProtoReference(
      dexBuilder.stringSection.internString(MethodUtil.getShorty(
          methodProto.getParameterTypes(), methodProto.getReturnType())),
      dexBuilder.typeListSection.internTypeList(methodProto.getParameterTypes()),
      dexBuilder.typeSection.internType(methodProto.getReturnType()));
  ret = internedItems.putIfAbsent(protoReference, protoReference);
  return ret==null?protoReference:ret;
}
org.jf.dexlib2.utilMethodUtilgetShorty

Popular methods of MethodUtil

  • getParameterRegisterCount
  • isDirect
  • getShortyType
  • isConstructor
  • isStatic
  • isPackagePrivate
  • methodSignaturesMatch

Popular in Java

  • Making http post requests using okhttp
  • setContentView (Activity)
  • setRequestProperty (URLConnection)
  • getSharedPreferences (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • JOptionPane (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now