public void visitStringConstant(Clazz clazz, StringConstant stringConstant) { StringConstant stringPatternConstant = (StringConstant)patternConstant; // Check the UTF-8 constant. matchingConstant = matchingConstantIndices(clazz, stringConstant.u2stringIndex, stringPatternConstant.u2stringIndex); }
public void visitClassConstant(Clazz clazz, ClassConstant classConstant) { ClassConstant classPatternConstant = (ClassConstant)patternConstant; // Check the class name. matchingConstant = matchingConstantIndices(clazz, classConstant.u2nameIndex, classPatternConstant.u2nameIndex); }
public void visitMethodTypeConstant(Clazz clazz, MethodTypeConstant methodTypeConstant) { MethodTypeConstant typePatternConstant = (MethodTypeConstant)patternConstant; // Check the descriptor. matchingConstant = matchingConstantIndices(clazz, methodTypeConstant.u2descriptorIndex, typePatternConstant.u2descriptorIndex); }
public void visitStringConstant(Clazz clazz, StringConstant stringConstant) { StringConstant stringPatternConstant = (StringConstant)patternConstant; // Check the UTF-8 constant. matchingConstant = matchingConstantIndices(clazz, stringConstant.u2stringIndex, stringPatternConstant.u2stringIndex); }
public void visitNameAndTypeConstant(Clazz clazz, NameAndTypeConstant nameAndTypeConstant) { NameAndTypeConstant typePatternConstant = (NameAndTypeConstant)patternConstant; // Check the name and the descriptor. matchingConstant = matchingConstantIndices(clazz, nameAndTypeConstant.u2nameIndex, typePatternConstant.u2nameIndex) && matchingConstantIndices(clazz, nameAndTypeConstant.u2descriptorIndex, typePatternConstant.u2descriptorIndex); }
public void visitMethodTypeConstant(Clazz clazz, MethodTypeConstant methodTypeConstant) { MethodTypeConstant typePatternConstant = (MethodTypeConstant)patternConstant; // Check the descriptor. matchingConstant = matchingConstantIndices(clazz, methodTypeConstant.u2descriptorIndex, typePatternConstant.u2descriptorIndex); }
public void visitNameAndTypeConstant(Clazz clazz, NameAndTypeConstant nameAndTypeConstant) { NameAndTypeConstant typePatternConstant = (NameAndTypeConstant)patternConstant; // Check the name and the descriptor. matchingConstant = matchingConstantIndices(clazz, nameAndTypeConstant.u2nameIndex, typePatternConstant.u2nameIndex) && matchingConstantIndices(clazz, nameAndTypeConstant.u2descriptorIndex, typePatternConstant.u2descriptorIndex); }
public void visitStringConstant(Clazz clazz, StringConstant stringConstant) { StringConstant stringPatternConstant = (StringConstant)patternConstant; // Check the UTF-8 constant. matchingConstant = matchingConstantIndices(clazz, stringConstant.u2stringIndex, stringPatternConstant.u2stringIndex); }
public void visitClassConstant(Clazz clazz, ClassConstant classConstant) { ClassConstant classPatternConstant = (ClassConstant)patternConstant; // Check the class name. matchingConstant = matchingConstantIndices(clazz, classConstant.u2nameIndex, classPatternConstant.u2nameIndex); }
public void visitNameAndTypeConstant(Clazz clazz, NameAndTypeConstant nameAndTypeConstant) { NameAndTypeConstant typePatternConstant = (NameAndTypeConstant)patternConstant; // Check the name and the descriptor. matchingConstant = matchingConstantIndices(clazz, nameAndTypeConstant.u2nameIndex, typePatternConstant.u2nameIndex) && matchingConstantIndices(clazz, nameAndTypeConstant.u2descriptorIndex, typePatternConstant.u2descriptorIndex); }
public void visitStringConstant(Clazz clazz, StringConstant stringConstant) { StringConstant stringPatternConstant = (StringConstant)patternConstant; // Check the UTF-8 constant. matchingConstant = matchingConstantIndices(clazz, stringConstant.u2stringIndex, stringPatternConstant.u2stringIndex); }
public void visitNameAndTypeConstant(Clazz clazz, NameAndTypeConstant nameAndTypeConstant) { NameAndTypeConstant typePatternConstant = (NameAndTypeConstant)patternConstant; // Check the name and the descriptor. matchingConstant = matchingConstantIndices(clazz, nameAndTypeConstant.u2nameIndex, typePatternConstant.u2nameIndex) && matchingConstantIndices(clazz, nameAndTypeConstant.u2descriptorIndex, typePatternConstant.u2descriptorIndex); }
public void visitAnyRefConstant(Clazz clazz, RefConstant refConstant) { RefConstant refPatternConstant = (RefConstant)patternConstant; // Check the class and the name and type. matchingConstant = matchingConstantIndices(clazz, refConstant.getClassIndex(), refPatternConstant.getClassIndex()) && matchingConstantIndices(clazz, refConstant.getNameAndTypeIndex(), refPatternConstant.getNameAndTypeIndex()); }
public void visitInvokeDynamicConstant(Clazz clazz, InvokeDynamicConstant invokeDynamicConstant) { InvokeDynamicConstant invokeDynamicPatternConstant = (InvokeDynamicConstant)patternConstant; // Check the bootstrap method and the name and type. matchingConstant = matchingConstantIndices(clazz, invokeDynamicConstant.getBootstrapMethodAttributeIndex(), invokeDynamicPatternConstant.getBootstrapMethodAttributeIndex()) && matchingConstantIndices(clazz, invokeDynamicConstant.getNameAndTypeIndex(), invokeDynamicPatternConstant.getNameAndTypeIndex()); }
public void visitInvokeDynamicConstant(Clazz clazz, InvokeDynamicConstant invokeDynamicConstant) { InvokeDynamicConstant invokeDynamicPatternConstant = (InvokeDynamicConstant)patternConstant; // Check the bootstrap method and the name and type. matchingConstant = matchingConstantIndices(clazz, invokeDynamicConstant.getBootstrapMethodAttributeIndex(), invokeDynamicPatternConstant.getBootstrapMethodAttributeIndex()) && matchingConstantIndices(clazz, invokeDynamicConstant.getNameAndTypeIndex(), invokeDynamicPatternConstant.getNameAndTypeIndex()); }
public void visitAnyRefConstant(Clazz clazz, RefConstant refConstant) { RefConstant refPatternConstant = (RefConstant)patternConstant; // Check the class and the name and type. matchingConstant = matchingConstantIndices(clazz, refConstant.getClassIndex(), refPatternConstant.getClassIndex()) && matchingConstantIndices(clazz, refConstant.getNameAndTypeIndex(), refPatternConstant.getNameAndTypeIndex()); }
public void visitInvokeDynamicConstant(Clazz clazz, InvokeDynamicConstant invokeDynamicConstant) { InvokeDynamicConstant invokeDynamicPatternConstant = (InvokeDynamicConstant)patternConstant; // Check the bootstrap method and the name and type. matchingConstant = matchingConstantIndices(clazz, invokeDynamicConstant.getBootstrapMethodAttributeIndex(), invokeDynamicPatternConstant.getBootstrapMethodAttributeIndex()) && matchingConstantIndices(clazz, invokeDynamicConstant.getNameAndTypeIndex(), invokeDynamicPatternConstant.getNameAndTypeIndex()); }
public void visitAnyRefConstant(Clazz clazz, RefConstant refConstant) { RefConstant refPatternConstant = (RefConstant)patternConstant; // Check the class and the name and type. matchingConstant = matchingConstantIndices(clazz, refConstant.getClassIndex(), refPatternConstant.getClassIndex()) && matchingConstantIndices(clazz, refConstant.getNameAndTypeIndex(), refPatternConstant.getNameAndTypeIndex()); }
public void visitMethodHandleConstant(Clazz clazz, MethodHandleConstant methodHandleConstant) { MethodHandleConstant methodHandlePatternConstant = (MethodHandleConstant)patternConstant; // Check the handle type and the name and type. matchingConstant = matchingArguments(methodHandleConstant.getReferenceKind(), methodHandlePatternConstant.getReferenceKind()) && matchingConstantIndices(clazz, methodHandleConstant.getReferenceIndex(), methodHandlePatternConstant.getReferenceIndex()); }
public void visitMethodHandleConstant(Clazz clazz, MethodHandleConstant methodHandleConstant) { MethodHandleConstant methodHandlePatternConstant = (MethodHandleConstant)patternConstant; // Check the handle type and the name and type. matchingConstant = matchingArguments(methodHandleConstant.getReferenceKind(), methodHandlePatternConstant.getReferenceKind()) && matchingConstantIndices(clazz, methodHandleConstant.getReferenceIndex(), methodHandlePatternConstant.getReferenceIndex()); }