public Type getReflectedType() { // TODO: Implement this correctly return getDeclaringType(); }
public Type getReflectedType() { // TODO: Implement this correctly return getDeclaringType(); }
public Type getReflectedType() { // TODO: Implement this correctly return getDeclaringType(); }
public boolean isEquivalentTo(final MemberInfo other) { return other == this || other != null && other.getDeclaringType() == getDeclaringType() && StringComparator.Ordinal.equals(getName(), other.getName()); }
public boolean isEquivalentTo(final MemberInfo other) { return other == this || other != null && other.getDeclaringType() == getDeclaringType() && StringComparator.Ordinal.equals(getName(), other.getName()); }
public boolean isEquivalentTo(final MemberInfo m) { return m == this || (m != null && TypeUtils.areEquivalent(m.getDeclaringType(), getDeclaringType()) && StringUtilities.equals(getName(), m.getName())); }
public static MemberInfo asMemberOf(final Type type, final MemberInfo member) { return member.isStatic() ? member.getDeclaringType() : asMemberOfVisitor.visit(type, member); }
public static MemberInfo asMemberOf(final Type type, final MemberInfo member) { return member.isStatic() ? member.getDeclaringType() : asMemberOfVisitor.visit(type, member); }
public static MemberInfo asMemberOf(final Type type, final MemberInfo member) { return member.isStatic() ? member.getDeclaringType() : asMemberOfVisitor.visit(type, member); }
final boolean isInherited = member.getDeclaringType() != thisType;
final boolean isInherited = member.getDeclaringType() != thisType;
final boolean isInherited = member.getDeclaringType() != thisType;
@Override public int hashCode() { final int nameHash = HashUtilities.hashCode(getName()); final Type t = getDeclaringType(); if (t != null) { return HashUtilities.combineHashCodes(t.hashCode(), nameHash); } return nameHash; }
"method '%s' on type '%s'", scope.getSimpleDescription(), scope.getDeclaringType().getSimpleDescription() );
final Type declaringType = member.getDeclaringType();
final Type declaringType = member.getDeclaringType();
final Type declaringType = member.getDeclaringType();
@Override public MemberInfo visitClassType(final Type<?> type, final MemberInfo member) { final Type owner = member.getDeclaringType();
@Override public MemberInfo visitClassType(final Type<?> type, final MemberInfo member) { final Type owner = member.getDeclaringType();
@Override public MemberInfo visitClassType(final Type<?> type, final MemberInfo member) { final Type owner = member.getDeclaringType();