Пример #1
0
 @Override
 public boolean isDefaultAccess() {
   return (methodSymbol.flags() & (Flags.PROTECTED | Flags.PUBLIC | Flags.PRIVATE)) == 0;
 }
Пример #2
0
 @Override
 public boolean isProtected() {
   return (methodSymbol.flags() & Flags.PROTECTED) != 0;
 }
Пример #3
0
 @Override
 public boolean isFinal() {
   return (methodSymbol.flags() & Flags.FINAL) != 0;
 }
Пример #4
0
 @Override
 public boolean isPublic() {
   return (methodSymbol.flags() & Flags.PUBLIC) != 0;
 }
Пример #5
0
 @Override
 public boolean isAbstract() {
   return (methodSymbol.flags() & Flags.ABSTRACT) != 0;
 }