Skip to content

Instantly share code, notes, and snippets.

@h0tk3y
Created May 22, 2019 18:45
Show Gist options
  • Save h0tk3y/711ad7d972822b414e35cdd36dfcc222 to your computer and use it in GitHub Desktop.
Save h0tk3y/711ad7d972822b414e35cdd36dfcc222 to your computer and use it in GitHub Desktop.
// access flags 0x51
public final bridge contains(Ljava/lang/Object;)Z
L0
LINENUMBER 3 L0
ALOAD 1
INSTANCEOF java/lang/String
IFEQ L1
GOTO L2
L1
ICONST_0
IRETURN
L2
ALOAD 0
ALOAD 1
CHECKCAST java/lang/String
INVOKEVIRTUAL com/example/StringSet.contains (Ljava/lang/String;)Z // this is the actual implementation
IRETURN
MAXSTACK = 2
MAXLOCALS = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment