Пример #1
0
 /**
  * Returns whether a Member is accessible.
  *
  * @param m Member to check
  * @return true if <code>m</code> is accessible
  */
 static boolean isAccessible(Member m) {
   return m != null && Modifier.isPublic(m.getModifiers()) && !m.isSynthetic();
 }
 /* (non-Javadoc)
  * @see org.aspectj.weaver.reflect.GenericSignatureInformationProvider#isSynthetic()
  */
 public boolean isSynthetic(ReflectionBasedResolvedMemberImpl resolvedMember) {
   Member member = resolvedMember.getMember();
   return member.isSynthetic();
 }