public final R visit(final Type<?> t) { return t.accept(this, null); } }
public final R visit(final Type<?> t) { return t.accept(this, null); } }
public final R visit(final Type<?> type, final P parameter) { return type.accept(this, parameter); }
public final R visit(final Type<?> t) { return t.accept(this, null); } }
public final R visit(final Type<?> type, final P parameter) { return type.accept(this, parameter); }
public final R visit(final Type<?> type, final P parameter) { return type.accept(this, parameter); }
public Void visit(final TypeList types, final MemberInfo scope, final FrameType frameType) { for (final Type<?> type : types) { _frames.push(new VerifierFrame(frameType, type)); type.accept(this, scope); _frames.pop(); } return null; }
public Void visit(final FieldInfo field, final MemberInfo scope) { // field.getDeclaringType().accept(this, scope); _frames.push(new VerifierFrame(FrameType.FIELD_SIGNATURE, field)); field.getFieldType().accept(this, scope); _frames.pop(); return null; }
@Override public Void visitArrayType(final Type<?> type, final MemberInfo scope) { super.visitArrayType(type, scope); _frames.push(new VerifierFrame(FrameType.TYPE_SIGNATURE, type)); type.getElementType().accept(this, scope); _frames.pop(); return null; }
public Boolean visitScope(final MemberInfo scope, final Type<?> s) { if (scope instanceof MethodBase) { final MethodBase method = (MethodBase) scope; if (method.containsGenericParameter(s)) { return Boolean.TRUE; } final Type<?> declaringType = method.getDeclaringType(); if (declaringType != null && !declaringType.isStatic()) { return declaringType.accept(this, s); } return Boolean.FALSE; } if (scope instanceof Type<?>) { final Type<?> type = (Type<?>) scope; if (type.containsGenericParameter(s)) { return Boolean.TRUE; } if (!type.isStatic()) { final Type<?> declaringType = type.getDeclaringType(); if (declaringType != null) { return declaringType.accept(this, s); } return Boolean.FALSE; } } return Boolean.FALSE; }