GeezerVison is showing github.com — Merge pull request #5021 from oowekyala/issue4885-method-not-accessible · pmd/pmd@ae76c8f
File treeExpand file treeCollapse file tree Open diff view settings pmd-java/src/main/java/net/sourceforge/pmd/lang/java
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTAnnotation.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 21 | 21 | * | 22 | 22 | * </pre> | 23 | 23 | */ | 24 | | -public final class ASTAnnotation extends AbstractJavaTypeNode implements TypeNode, ASTMemberValue, Iterable<ASTMemberValuePair> { | | 24 | +public final class ASTAnnotation extends AbstractJavaTypeNode implements ASTMemberValue, Iterable<ASTMemberValuePair> { | 25 | 25 |
| 26 | 26 | ASTAnnotation(int id) { | 27 | 27 | super(id); | |
Collapse file Copy file name to clipboardExpand all lines: pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTArrayDimExpr.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 17 | 17 | * | 18 | 18 | * </pre> | 19 | 19 | */ | 20 | | -public final class ASTArrayDimExpr extends ASTArrayTypeDim implements Annotatable { | | 20 | +public final class ASTArrayDimExpr extends ASTArrayTypeDim { | 21 | 21 |
| 22 | 22 | ASTArrayDimExpr(int id) { | 23 | 23 | super(id); | |
Collapse file Copy file name to clipboardExpand all lines: pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTArrayInitializer.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 22 | 22 | * </pre> | 23 | 23 | * | 24 | 24 | */ | 25 | | -public final class ASTArrayInitializer extends AbstractJavaExpr implements ASTExpression, Iterable<ASTExpression> { | | 25 | +public final class ASTArrayInitializer extends AbstractJavaExpr implements Iterable<ASTExpression> { | 26 | 26 |
| 27 | 27 | ASTArrayInitializer(int id) { | 28 | 28 | super(id); | |
Collapse file Copy file name to clipboardExpand all lines: pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTBlock.java +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 6 | 6 |
| 7 | 7 | import net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken; | 8 | 8 | import net.sourceforge.pmd.lang.java.ast.ASTList.ASTMaybeEmptyListOf; | 9 | | -import net.sourceforge.pmd.lang.java.ast.InternalInterfaces.AllChildrenAreOfType; | 10 | 9 |
| 11 | 10 | /** | 12 | 11 | * A block of code. This is a {@linkplain ASTStatement statement} that | | 19 | 18 | * </pre> | 20 | 19 | */ | 21 | 20 | public final class ASTBlock extends ASTMaybeEmptyListOf<ASTStatement> | 22 | | - implements ASTSwitchArrowRHS, ASTStatement, AllChildrenAreOfType<ASTStatement> { | | 21 | + implements ASTSwitchArrowRHS, ASTStatement { | 23 | 22 |
| 24 | 23 | ASTBlock(int id) { | 25 | 24 | super(id, ASTStatement.class); | |
Collapse file Copy file name to clipboardExpand all lines: pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTBooleanLiteral.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 9 | 9 | /** | 10 | 10 | * The boolean literal, either "true" or "false". | 11 | 11 | */ | 12 | | -public final class ASTBooleanLiteral extends AbstractLiteral implements ASTLiteral { | | 12 | +public final class ASTBooleanLiteral extends AbstractLiteral { | 13 | 13 |
| 14 | 14 | private boolean isTrue; | 15 | 15 |
| |
Collapse file Copy file name to clipboardExpand all lines: pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTCastExpression.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 14 | 14 | * | 15 | 15 | * </pre> | 16 | 16 | */ | 17 | | -public final class ASTCastExpression extends AbstractJavaExpr implements ASTExpression { | | 17 | +public final class ASTCastExpression extends AbstractJavaExpr { | 18 | 18 |
| 19 | 19 | ASTCastExpression(int id) { | 20 | 20 | super(id); | |
Collapse file Copy file name to clipboardExpand all lines: pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTCharLiteral.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 15 | 15 | * retrieve the actual runtime value. Use {@link #getLiteralText()} to | 16 | 16 | * retrieve the text. | 17 | 17 | */ | 18 | | -public final class ASTCharLiteral extends AbstractLiteral implements ASTLiteral { | | 18 | +public final class ASTCharLiteral extends AbstractLiteral { | 19 | 19 |
| 20 | 20 |
| 21 | 21 | ASTCharLiteral(int id) { | |
Collapse file Copy file name to clipboardExpand all lines: pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTCompilationUnit.java +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 13 | 13 | import net.sourceforge.pmd.lang.ast.AstInfo; | 14 | 14 | import net.sourceforge.pmd.lang.ast.NodeStream; | 15 | 15 | import net.sourceforge.pmd.lang.ast.RootNode; | 16 | | -import net.sourceforge.pmd.lang.ast.impl.GenericNode; | 17 | 16 | import net.sourceforge.pmd.lang.java.symbols.table.JSymbolTable; | 18 | 17 | import net.sourceforge.pmd.lang.java.types.TypeSystem; | 19 | 18 | import net.sourceforge.pmd.lang.java.types.ast.internal.LazyTypeResolver; | | 49 | 48 | * @see <a href="https://openjdk.org/jeps/445">JEP 445: Unnamed Classes and Instance Main Methods (Preview)</a> (Java 21) | 50 | 49 | * @see #isUnnamedClass() | 51 | 50 | */ | 52 | | -public final class ASTCompilationUnit extends AbstractJavaNode implements JavaNode, GenericNode<JavaNode>, RootNode { | | 51 | +public final class ASTCompilationUnit extends AbstractJavaNode implements RootNode { | 53 | 52 |
| 54 | 53 | private LazyTypeResolver lazyTypeResolver; | 55 | 54 | private List<JavaComment> comments; | |
Collapse file Copy file name to clipboardExpand all lines: pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTConstructorCall.java +1-5Lines changed: 1 addition & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 22 | 22 | * | 23 | 23 | * </pre> | 24 | 24 | */ | 25 | | -public final class ASTConstructorCall extends AbstractInvocationExpr | 26 | | - implements ASTPrimaryExpression, | 27 | | - QualifiableExpression, | 28 | | - LeftRecursiveNode, | 29 | | - InvocationNode { | | 25 | +public final class ASTConstructorCall extends AbstractInvocationExpr implements QualifiableExpression, LeftRecursiveNode { | 30 | 26 |
| 31 | 27 | ASTConstructorCall(int id) { | 32 | 28 | super(id); | |
Collapse file Copy file name to clipboardExpand all lines: pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTEnumConstant.java +2-3Lines changed: 2 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 19 | 19 | * </pre> | 20 | 20 | */ | 21 | 21 | public final class ASTEnumConstant extends AbstractJavaTypeNode | 22 | | - implements Annotatable, | 23 | | - InvocationNode, | 24 | | - ModifierOwner, | | 22 | + implements InvocationNode, | | 23 | + ModifierOwner, | 25 | 24 | ASTBodyDeclaration, | 26 | 25 | InternalInterfaces.VariableIdOwner, | 27 | 26 | JavadocCommentOwner { | |
|