Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ default boolean isAbstract() {
}

/**
* Returns true if a method is with a real implementation, or if a type can
* be instantiated. For example, array types return true for both
* {@link #isAbstract()} and this method.
* Returns true if this element is a method with a concrete implementation, or a type that can
* be instantiated. For example, array types return true for both {@link #isAbstract()} and this
* method.
*
* @see ResolvedJavaType#isConcrete()
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public void isArrayTest() {
}

@Test
public void isConcreteClassTest() {
public void isConcreteTest() {
for (Class<?> c : classes) {
ResolvedJavaType type = metaAccess.lookupJavaType(c);
boolean expected = c.isArray() || !isAbstract(c.getModifiers());
Expand Down