Codota Logo
MethodIdItem.getMethodName
Code IndexAdd Codota to your IDE (free)

How to use
getMethodName
method
in
org.jf.dexlib.MethodIdItem

Best Java code snippets using org.jf.dexlib.MethodIdItem.getMethodName (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: sonyxperiadev/ApkAnalyser

public static boolean looksLikeSyntheticAccessor(MethodIdItem methodIdItem) {
  return methodIdItem.getMethodName().getStringValue().startsWith("access$");
}
origin: sonyxperiadev/ApkAnalyser

protected boolean isInvokeInit() {
  if (instruction == null || !instruction.opcode.canInitializeReference()) {
    return false;
  }
  //TODO: check access flags instead of name?
  InstructionWithReference instruction = (InstructionWithReference)this.instruction;
  Item item = instruction.getReferencedItem();
  assert item.getItemType() == ItemType.TYPE_METHOD_ID_ITEM;
  MethodIdItem method = (MethodIdItem)item;
  if (!method.getMethodName().getStringValue().equals("<init>")) {
    return false;
  }
  return true;
}
origin: sonyxperiadev/ApkAnalyser

MethodIdItem methodIdItem = (MethodIdItem)item;
if (!methodIdItem.getMethodName().getStringValue().equals("<init>")) {
  return;
origin: sonyxperiadev/ApkAnalyser

boolean isInit = false;
if (methodIdItem.getMethodName().getStringValue().charAt(0) == '<') {
  if ((invokeType & INVOKE_DIRECT) != 0) {
    isInit = true;
      if (!encodedMethod.method.getMethodName().getStringValue().equals("<init>")) {
        throw new ValidationException(String.format("Cannot call %s on type %s. The object type must " +
            "match the method type exactly", methodIdItem.getMethodString(),
origin: org.smali/dexlib

public static boolean looksLikeSyntheticAccessor(MethodIdItem methodIdItem) {
  return methodIdItem.getMethodName().getStringValue().startsWith("access$");
}
origin: org.smali/dexlib

protected boolean isInvokeInit() {
  if (instruction == null || !instruction.opcode.canInitializeReference()) {
    return false;
  }
  //TODO: check access flags instead of name?
  InstructionWithReference instruction = (InstructionWithReference)this.instruction;
  Item item = instruction.getReferencedItem();
  assert item.getItemType() == ItemType.TYPE_METHOD_ID_ITEM;
  MethodIdItem method = (MethodIdItem)item;
  if (!method.getMethodName().getStringValue().equals("<init>")) {
    return false;
  }
  return true;
}
origin: com.shazam.fork/fork-common

@Nonnull
private TestCaseEvent convertToTestCaseEvent(ClassDefItem classDefItem,
                       AnnotationDirectoryItem annotationDirectoryItem,
                       AnnotationDirectoryItem.MethodAnnotation method) {
  String testMethod = method.method.getMethodName().getStringValue();
  AnnotationItem[] annotations = method.annotationSet.getAnnotations();
  String testClass = getClassName(classDefItem);
  boolean isIgnored = isClassIgnored(annotationDirectoryItem) || isMethodIgnored(annotations);
  List<String> permissionsToRevoke = getPermissionsToRevoke(annotations);
  Map<String, String> properties = getTestProperties(annotations);
  return testCaseEvent()
      .withTestClass(testClass)
      .withTestMethod(testMethod)
      .withIsIgnored(isIgnored)
      .withPermissionsToRevoke(permissionsToRevoke)
      .withProperties(properties)
      .build();
}
org.jf.dexlibMethodIdItemgetMethodName

Popular methods of MethodIdItem

  • <init>
    Creates a new MethodIdItem for the given class, type and name
  • calcHashCode
    calculate and cache the hashcode
  • compareTo
  • getContainingClass
  • getDexFile
  • getIndex
  • getMethodString
  • getPrototype
  • hashCode
  • lookupMethodIdItem
    Looks up a MethodIdItem from the given DexFile for the given values
  • getShortMethodString
  • getVirtualMethodString
  • getShortMethodString,
  • getVirtualMethodString

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • orElseThrow (Optional)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
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