MCPcopy Create free account
hub / github.com/apache/groovy / isAbstract

Method isAbstract

src/main/java/org/codehaus/groovy/ast/ClassNode.java:1855–1857  ·  view source on GitHub ↗

Returns whether this ClassNode represents an abstract class. A class is abstract if the ACC_ABSTRACT modifier flag is set in its modifiers. Abstract classes cannot be instantiated directly; they serve as base types for subclasses. This method checks the actual modifier bits, independ

()

Source from the content-addressed store, hash-verified

1853 * @see #setModifiers(int)
1854 */
1855 public boolean isAbstract() {
1856 return (getModifiers() & ACC_ABSTRACT) != 0;
1857 }
1858
1859 /**
1860 * Returns whether this {@link ClassNode} represents an interface type.

Calls 1

getModifiersMethod · 0.95

Tested by

no test coverage detected