Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
1,900
boolean () { return (myFlags & (Opcodes.ACC_PRIVATE | Opcodes.ACC_PROTECTED | Opcodes.ACC_PUBLIC)) == 0; }
isPackageLocal
1,901
boolean () { return isSet(Opcodes.ACC_STATIC); }
isStatic
1,902
boolean () { return isSet(Opcodes.ACC_FINAL); }
isFinal
1,903
boolean () { return isSet(Opcodes.ACC_SUPER); }
isSuper
1,904
boolean () { return isSet(Opcodes.ACC_SYNCHRONIZED); }
isSynchronized
1,905
boolean () { return isSet(Opcodes.ACC_OPEN); }
isOpen
1,906
boolean () { return isSet(Opcodes.ACC_TRANSITIVE); }
isTransitive
1,907
boolean () { return isSet(Opcodes.ACC_VOLATILE); }
isVolatile
1,908
boolean () { return isSet(Opcodes.ACC_BRIDGE); }
isBridge
1,909
boolean () { return isSet(Opcodes.ACC_STATIC_PHASE); }
isStaticPhase
1,910
boolean () { return isSet(Opcodes.ACC_VARARGS); }
isVarargs
1,911
boolean () { return isSet(Opcodes.ACC_TRANSIENT); }
isTransient
1,912
boolean () { return isSet(Opcodes.ACC_NATIVE); }
isNative
1,913
boolean () { return isSet(Opcodes.ACC_INTERFACE); }
isInterface
1,914
boolean () { return isSet(Opcodes.ACC_ABSTRACT); }
isAbstract
1,915
boolean () { return isSet(Opcodes.ACC_STRICT); }
isStrict
1,916
boolean () { return isSet(Opcodes.ACC_SYNTHETIC); }
isSynthetic
1,917
boolean () { return isSet(Opcodes.ACC_ANNOTATION); }
isAnnotation
1,918
boolean () { return isSet(Opcodes.ACC_MANDATED); }
isMandated
1,919
boolean () { return isSet(Opcodes.ACC_MODULE); }
isModule
1,920
boolean () { return isSet(Opcodes.ACC_RECORD); }
isRecord
1,921
boolean () { return isSet(Opcodes.ACC_DEPRECATED); }
isDeprecated
1,922
boolean () { return isSet(LOCAL_MASK); }
isLocal
1,923
boolean () { return isSet(ANON_MASK); }
isAnonymous
1,924
boolean () { return isSet(GENERATED_MASK); }
isGenerated
1,925
boolean (JVMFlags flags) { return (myFlags & flags.myFlags) == flags.myFlags; }
isAllSet
1,926
boolean (int mask) { return (myFlags & mask) != 0; }
isSet
1,927
boolean (Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final JVMFlags jvmFlags = (JVMFlags)o; if (myFlags != jvmFlags.myFlags) { return false; } return true; }
equals
1,928
int () { return myFlags; }
getValue
1,929
int () { return myFlags; }
hashCode
1,930
int () { return super.hashCode() + 3; }
hashCode
1,931
boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ParamAnnotation that = (ParamAnnotation)o; if (paramIndex != that.paramIndex) return false; if (!type.equals(that.type)) return false; return true; }
equals
1,932
int () { int result = paramIndex; result = 31 * result + type.hashCode(); return result; }
hashCode
1,933
ElemType (int ord) { for (ElemType value : values()) { if (value.ordinal() == ord) { return value; } } return null; }
fromOrdinal
1,934
JvmNodeReferenceID () { return myId; }
getReferenceID
1,935
String () { return outFilePath; }
getOutFilePath
1,936
Iterable<Usage> () { return myUsages; }
getUsages
1,937
boolean (DiffCapable<?, ?> other) { if (!(other instanceof JVMClassNode)) { return false; } if (!this.getClass().equals(other.getClass())) { return false; } JVMClassNode<?, ?> that = (JVMClassNode<?, ?>)other; return myId.equals(that.myId) && outFilePath.equals(that.outFilePath); }
isSame
1,938
int () { return 31 * outFilePath.hashCode() + myId.hashCode(); }
diffHashCode
1,939
String () { return getElementOwner().getNodeName(); }
getImportedClassName
1,940
String () { return myDescriptor; }
getDescriptor
1,941
boolean (Object o) { if (!super.equals(o)) { return false; } final FieldUsage that = (FieldUsage)o; if (!myDescriptor.equals(that.myDescriptor)) { return false; } return true; }
equals
1,942
int () { int result = super.hashCode(); result = 31 * result + myDescriptor.hashCode(); return result; }
hashCode
1,943
Iterable<ReferenceID> (@NotNull Node<?, ?> node) { if (node instanceof JvmClass) { JvmClass cls = (JvmClass)node; if (!cls.isAnonymous() && !cls.isLocal()) { return Iterators.asIterable(new JvmNodeReferenceID(cls.getShortName())); } } return Collections.emptyList(); }
getIndexedDependencies
1,944
JVMFlags () { return access; }
getFlags
1,945
String () { return signature; }
getSignature
1,946
String () { return name; }
getName
1,947
boolean () { return getFlags().isPublic(); }
isPublic
1,948
boolean () { return getFlags().isProtected(); }
isProtected
1,949
boolean () { return getFlags().isPackageLocal(); }
isPackageLocal
1,950
boolean () { return getFlags().isPrivate(); }
isPrivate
1,951
boolean () { return getFlags().isAbstract(); }
isAbstract
1,952
boolean () { return getFlags().isBridge(); }
isBridge
1,953
boolean () { return getFlags().isSynthetic(); }
isSynthetic
1,954
boolean () { return getFlags().isAnnotation(); }
isAnnotation
1,955
boolean () { return getFlags().isFinal(); }
isFinal
1,956
boolean () { return getFlags().isStatic(); }
isStatic
1,957
boolean (Proto anotherProto) { if (anotherProto.isPrivate()) { return this.isPackageLocal() || this.isProtected() || this.isPublic(); } if (anotherProto.isPackageLocal()) { return this.isProtected() || this.isPublic(); } if (anotherProto.isProtected()) { return this.isPublic(); } return false; }
isMoreAccessibleThan
1,958
boolean (Proto anotherProto) { return getFlags().isWeakerAccess(anotherProto.getFlags()); }
isWeakerAccessThan
1,959
boolean () { return !flagsChanged() && !signatureChanged() && annotations().unchanged(); }
unchanged
1,960
boolean () { return !myPast.getFlags().equals(getFlags()); }
flagsChanged
1,961
JVMFlags () { return getFlags().deriveAdded(myPast.getFlags()); }
getAddedFlags
1,962
JVMFlags () { return getFlags().deriveRemoved(myPast.getFlags()); }
getRemovedFlags
1,963
boolean () { return !myPast.isPackageLocal() && isPackageLocal(); }
becamePackageLocal
1,964
boolean () { return Proto.this.isWeakerAccessThan(myPast); }
accessRestricted
1,965
boolean () { return myPast.isWeakerAccessThan(Proto.this); }
accessExpanded
1,966
boolean () { return !Objects.equals(myPast.getSignature(), getSignature()); }
signatureChanged
1,967
String () { return myVersion; }
getVersion
1,968
Iterable<ModuleRequires> () { return myRequires; }
getRequires
1,969
Iterable<ModulePackage> () { return myExports; }
getExports
1,970
boolean (String requirementName) { for (ModuleRequires require : getRequires()) { if (Objects.equals(require.getName(), requirementName)) { return require.getFlags().isTransitive(); } } return false; }
requiresTransitively
1,971
Diff (JvmModule past) { return new Diff(past); }
difference
1,972
boolean () { return super.unchanged() && !versionChanged() && requires().unchanged() && exports().unchanged(); }
unchanged
1,973
boolean () { return !Objects.equals(myPast.getVersion(), getVersion()); }
versionChanged
1,974
String () { return getElementOwner().getNodeName(); }
getClassName
1,975
Iterable<ReferenceID> (@NotNull Node<?, ?> node) { if (!(node instanceof JvmClass)) { return Collections.emptyList(); } JvmClass classNode = (JvmClass)node; return Iterators.map(classNode.getSuperTypes(), name -> new JvmNodeReferenceID(name)); }
getIndexedDependencies
1,976
String () { return myDescriptor; }
getDescriptor
1,977
boolean (Object o) { if (!super.equals(o)) { return false; } final MethodUsage that = (MethodUsage)o; if (!myDescriptor.equals(that.myDescriptor)) { return false; } return true; }
equals
1,978
int () { int result = super.hashCode(); result = 31 * result + myDescriptor.hashCode(); return result; }
hashCode
1,979
boolean (Node<?, ?> node) { if (!super.test(node)) { return false; } if (node instanceof JvmClass) { for (JvmNodeReferenceID s : myUtils.allSupertypes(((JvmClass)node).getReferenceID())) { if (myRootClass.equals(s)) { return false; } } } return true; }
test
1,980
String () { return myName; }
getNodeName
1,981
boolean (Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final JvmNodeReferenceID that = (JvmNodeReferenceID)o; if (!myName.equals(that.myName)) { return false; } return true; }
equals
1,982
int () { return myName.hashCode(); }
hashCode
1,983
String () { return "JVM_NODE_ID:" + myName; }
toString
1,984
boolean () { return !Iterators.isEmpty(myModules); }
isQualified
1,985
Iterable<String> () { return myModules; }
getModules
1,986
boolean (DiffCapable<?, ?> other) { return other instanceof ModulePackage && getName().equals(((ModulePackage)other).getName()); }
isSame
1,987
int () { return getName().hashCode(); }
diffHashCode
1,988
Diff (ModulePackage past) { return new Diff(past); }
difference
1,989
boolean () { return super.unchanged() && targetModules().unchanged(); }
unchanged
1,990
TypeRepr () { return type; }
getType
1,991
boolean () { return super.unchanged() && !typeChanged() && !valueChanged(); }
unchanged
1,992
boolean () { return !Objects.equals(myPast.getType(), getType()); }
typeChanged
1,993
boolean () { return !Objects.equals(myPast.getValue(), getValue()); }
valueChanged
1,994
boolean () { return myPast.getValue() == null && getValue() != null; }
valueAdded
1,995
boolean () { return myPast.getValue() != null && getValue() == null; }
valueRemoved
1,996
void (String name, Object value) { }
visit
1,997
void (String name, String desc, String value) { myRetentionPolicy = RetentionPolicy.valueOf(value); }
visitEnum
1,998
AnnotationVisitor (String name, String desc) { return null; }
visitAnnotation
1,999
AnnotationVisitor (String name) { return null; }
visitArray