public boolean isAbstract(){
  return Modifier.isAbstract(getAccessFlags());
}

public boolean isAbstract ( ) { return Modifier . isAbstract ( getAccessFlags ( ) ) ; }
returns true for an abstract class .
