repo
stringlengths
1
191
file
stringlengths
23
351
code
stringlengths
0
5.32M
file_length
int64
0
5.32M
avg_line_length
float64
0
2.9k
max_line_length
int64
0
288k
extension_type
stringclasses
1 value
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTExpression.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.annotation.Experimental; import net.sour...
5,262
38.571429
128
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTResourceList.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.java.ast.ASTList.ASTNonEmptyList; /** * A list of resources in a {@linkplain ASTTryStatement try-with-resources}. * * <pre class="grammar"> * * Resou...
1,076
23.477273
99
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/AbstractTypeBodyDeclaration.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * @author Clément Fournier * @since 6.2.0 */ abstract class AbstractTypeBodyDeclaration extends AbstractJavaNode implements JavaNode { AbstractTypeBodyDeclaration(int id) { ...
346
18.277778
89
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/AstImplUtil.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.lang.ast.Node; /** * KEEP PRIVATE * * @author Clément Fournier */ final class AstImplUtil { ...
1,900
29.174603
92
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTModuleExportsDirective.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.ast.NodeStream; /** * An "exports" directive of a {@linkplain ASTModuleDeclaration module declaration}. * * <pre class="grammar"> * * ModuleExportsDi...
1,042
25.075
100
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/FinalizableNode.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * A node that may have the final modifier. */ public interface FinalizableNode extends AccessNode { /** * Returns true if this variable, method or class is final (even imp...
439
19
81
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTModuleDirective.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * A directive of a {@linkplain ASTModuleDeclaration module declaration}. * Implementations provide more specific attributes. * * <pre class="grammar"> * * ModuleDirective ::= {...
863
27.8
86
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTArrayAccess.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; /** * An array access expression. * * <pre class="grammar"> * * ArrayAccess ::= {@link ASTExpression Expression} "[" {@l...
1,166
24.369565
112
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTSynchronizedStatement.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * A synchronized statement. * * <pre class="grammar"> * * SynchronizedStatement ::= "synchronized" "(" {@link ASTExpression Expression} ")" {@link ASTBlock Block} * * </pre> ...
930
20.651163
107
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/AbstractInvocationExpr.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.java.types.OverloadSelectionResult; /** * */ abstract class AbstractInvocationExpr extends AbstractJavaExpr implements InvocationNode { private Over...
700
21.612903
90
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/JavaNode.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import net.sourceforge.pmd.annotation.DeprecatedUntil700; import net.sourceforge.pmd.lang.ast.AstVisitor; import net.sourcefor...
2,182
29.319444
92
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/AbstractLiteral.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * @author Clément Fournier */ abstract class AbstractLiteral extends AbstractJavaExpr implements ASTLiteral { AbstractLiteral(int i) { super(i); } @Override ...
436
19.809524
79
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/TokenUtils.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.NoSuchElementException; import java.util.Objects; import net.sourceforge.pmd.lang.ast.GenericToken; import net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken; /** * P...
3,081
32.139785
108
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTCatchClause.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * A "catch" clause of a {@linkplain ASTTryStatement try statement}. * * <pre class="grammar"> * * CatchClause ::= "catch" "(" {@link ASTCatchParameter CatchParameter} ")" {@link ...
914
22.461538
98
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/JavaVisitorBase.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.ast.AstVisitorBase; import net.sourceforge.pmd.lang.java.ast.ASTAssignableExpr.ASTNamedReferenceExpr; /** * Base implementation of {@link JavaVisitor}. T...
9,596
22.9925
94
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTForStatement.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.Nullable; /** * Represents a {@code for} loop (distinct from {@linkplain ASTForeachStatement foreach loops}). * * <pre class="grammar...
1,739
29.526316
150
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTVariableDeclaratorId.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.q...
10,644
31.454268
160
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/BinaryOp.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.Comparator; import java.util.EnumSet; import java.util.Set; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual....
6,292
28
136
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTImportDeclaration.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; /** * Represents an import declaration in a Java file. * * <pre class="grammar"> * * ImportDeclaration ::= "import" "stati...
3,156
25.529412
100
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTEmptyDeclaration.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * An empty declaration (useless). This is kept separate from {@link ASTStatement} * because they don't occur in the same syntactic contexts. * * <pre class="grammar"> * * EmptyDe...
694
22.166667
88
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/TypesFromAst.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.lang.annotation.ElementType; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.checkerframework.ch...
12,172
42.320285
189
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTLambdaParameterList.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.java.ast.ASTList.ASTMaybeEmptyListOf; /** * The parameter list of a {@linkplain ASTLambdaExpression lambda expression}. * * <pre class="grammar"> * * ...
835
25.967742
126
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/InternalApiBridge.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.annotation.InternalApi; import net.source...
9,160
40.080717
127
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTVoidType.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * Type node to represent the void pseudo-type. This represents the * absence of a type, not a type, but it's easier to process that way. * Can only occur as return type of method d...
767
24.6
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTSuperExpression.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.Nullable; /** * The "super" keyword. Technically not an expression but it's easier to analyse that way. * * <pre class="grammar"> *...
915
24.444444
96
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTMemberValuePair.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * Represents a single pair of member name to value in an annotation. * This node also represents the shorthand syntax, see {@link #isShorthand()}. * * <pre class="grammar"> * * ...
1,671
24.333333
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTIntersectionType.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.Iterator; import net.sourceforge.pmd.lang.ast.NodeStream; /** * Represents an <a href="https://docs.oracle.com/javase/specs/jls/se9/html/jls-4.html#jls-4.9">intersecti...
1,590
29.018868
133
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/QualifiableExpression.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.Nullable; /** * Node that may be qualified by an expression, e.g. an instance method call or * inner class constructor invocation. * ...
1,100
31.382353
79
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTType.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.java.ast.internal.PrettyPrintingUtil; import net.sourceforge.pmd.lang.rule.xpath.NoAttribute; /** * Represents a type reference. * * <p>Corresponds to...
2,351
27.337349
120
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTAmbiguousName.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.function.BiFunction; import java.util.function.Function; /** * An ambiguous name occurring in any context. Without a disambiguation * pass that taking care of obscurin...
8,173
37.375587
156
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTCompactConstructorDeclaration.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.java.symbols.JConstructorSymbol; /** * This defines a compact constructor for a {@linkplain ASTRecordDeclaration RecordDeclaration} (JDK 16 feature). * ...
1,701
29.392857
142
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTTopLevelDeclaration.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * Marker interface for nodes that can appear on the top-level of a file. * In these contexts, they are children of the {@link ASTCompilationUnit CompilationUnit} * node. Note that ...
878
32.807692
89
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTRecordDeclaration.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import net.sourceforge.pmd.lang.ast.Node; import net.sourceforge.pmd.lang.ast.NodeStream; /** * A record declaration is a spe...
1,625
30.269231
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTWildcardType.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.Nullable; /** * Represents a wildcard type. Those can only occur when nested in an * {@link ASTTypeArguments} node. * * <pre class="...
1,572
23.578125
93
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/AbstractTypedSymbolDeclarator.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import net.sourceforge.pmd.lang.java.symbols.JElementSymbol; /** * Abstract class for type declarations nodes. */ abstract ...
1,170
23.914894
110
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTAnnotationTypeDeclaration.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.ast.Node; /** * The declaration of an annotation type. * This is a {@linkplain Node#isFindBoundary() find boundary} for tree traversal methods. * * <p...
1,163
24.866667
93
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTAssignmentExpression.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; /** * Represents an assignment expression. * * <pre class="grammar"> * * AssignmentExpression ::= {@link ASTAssignableExpr...
1,339
21.711864
122
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTLoopStatement.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.Nullable; /** * A loop statement. * * <pre class="grammar"> * * Statement ::= {@link ASTDoStatement DoStatement} * | {@...
1,069
23.318182
79
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/SymbolDeclaratorNode.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.java.symbols.JElementSymbol; /** * A node that declares a corresponding {@linkplain JElementSymbol symbol}. */ public interface SymbolDeclaratorNode exte...
421
22.444444
79
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/UnaryOp.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; /** * A unary operator, either prefix or postfix. This is used by {@link ASTUnaryExpression UnaryExpres...
3,571
27.576
105
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTPrimitiveType.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import net.sourceforge.pmd.lang.java.types.JPrimitiveType; import net.sourceforge.pmd.lang.java.types.JPrimitiveType.PrimitiveT...
1,385
23.75
132
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTModuleOpensDirective.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.ast.NodeStream; /** * An "opens" directive of a {@linkplain ASTModuleDeclaration module declaration}. * * <pre class="grammar"> * * ModuleOpensDirect...
1,033
24.219512
100
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTSwitchExpression.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.ast.NodeStream; /** * A switch expression, as introduced in Java 12. This node only occurs * in the contexts where an expression is expected. In particu...
2,094
29.808824
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/AssignmentOp.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import static net.sourceforge.pmd.lang.java.ast.BinaryOp.ADD; import static net.sourceforge.pmd.lang.java.ast.BinaryOp.AND; import static net.sourceforge.pmd.lang.java.ast.BinaryOp.DIV; i...
2,483
26.296703
129
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTMethodReference.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.lang.java.symbols.JConstructorSymbol; imp...
5,219
30.071429
119
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/CommentAssignmentPass.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.Collections; import java.util.Comparator; import java.util.List; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.lang.ast.GenericT...
2,505
36.969697
160
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTModuleProvidesDirective.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.ast.NodeStream; /** * A "provides" directive of a {@linkplain ASTModuleDeclaration module declaration}. * * <pre class="grammar"> * * ModuleProvidesD...
1,298
26.638298
116
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTList.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.Collections; import java.util.Iterator; import java.util.List; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qu...
4,766
27.716867
104
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTLambdaExpression.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.lang.ast.NodeStream; import net.sourcefo...
3,407
26.264
141
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTSwitchArrowRHS.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * A node that can appear as the right-hand-side of a {@link ASTSwitchArrowBranch SwitchArrowRule}. * * <pre class="grammar"> * * SwitchArrowRightHandSide ::= {@link ASTExpression...
535
24.52381
99
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/TypeNode.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.annotation.DeprecatedUntil700; import ne...
2,339
34.454545
97
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTAssignableExpr.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.lang.ast.Node; import net.sourceforge.pmd...
3,610
33.066038
174
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTModuleRequiresDirective.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.Objects; import org.checkerframework.checker.nullness.qual.NonNull; /** * A "requires" directive of a {@linkplain ASTModuleDeclaration module declaration}. * * <pre...
1,295
21.344828
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTThrowsList.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.java.ast.ASTList.ASTNonEmptyList; /** * Throws clause of an {@link ASTConstructorDeclaration} or {@link ASTMethodDeclaration}. * * <pre class="grammar">...
989
28.117647
117
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/JavadocComment.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken; /** * A {@link JavaComment} that has Javadoc content. */ publi...
797
21.166667
79
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTBooleanLiteral.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; /** * The boolean literal, either "true" or "false". */ public final class ASTBooleanLiteral extends AbstractLiteral implemen...
788
18.725
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTForInit.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * The initialization clause of a {@linkplain ASTForStatement for loop}. * Note: ForInit nodes are necessary in the tree to differentiate them * from the update clause. They just co...
980
24.815789
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTLocalVariableDeclaration.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.lang.document.FileLocation; /** * Represents a local variable declaration. This is a {@linkplain ...
2,623
31.395062
219
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTEnumDeclaration.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.ast.Node; /** * Represents an enum declaration. * This is a {@linkplain Node#isFindBoundary() find boundary} for tree traversal methods. * * <p>An enu...
1,174
24.543478
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/InternalInterfaces.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.Iterator; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.lang.ast.Nod...
4,099
25.11465
102
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/AbstractAnyTypeDeclaration.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.lang.ast.Node; import net.sourceforge.pm...
2,542
26.945055
147
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/OverrideResolutionPass.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.BitSet; import java.util.HashMap; import java.util.LinkedHashSet; import java.util.Map; import java.util.Set; import net.sourceforge.pmd.lang.java.symbols.JMethodSymbol; ...
4,990
38.299213
98
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTPrimaryExpression.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * Tags those {@link ASTExpression expressions} that are categorised as primary * by the JLS. * * <pre class="grammar"> * * PrimaryExpression ::= {@link ASTAssignableExpr Assigna...
1,059
32.125
79
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTReceiverParameter.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; /** * Receiver parameter. A receiver parameter is syntactically part of a * {@linkplain ASTFormalParameters formal parameter l...
2,217
32.606061
110
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTStatement.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * Represents a code statement. * * <pre class="grammar"> * * Statement ::= {@link ASTAssertStatement AssertStatement} * | {@link ASTBlock Block} * | {@l...
1,634
38.878049
87
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTEmptyStatement.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * An empty statement (useless). * * <pre class="grammar"> * * EmptyStatement ::= ";" * * </pre> */ public final class ASTEmptyStatement extends AbstractStatement { ASTEmp...
525
17.785714
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTDefaultValue.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * Represents the {@code default} clause of an {@linkplain ASTMethodDeclaration annotation method}. * * <pre class="grammar"> * * DefaultValue ::= "default" {@link ASTMemberValue ...
791
21.628571
99
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTEnumConstant.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.lang.document.FileLocation; import net.sourceforge.pmd.lang.java.types.OverloadSelectionResult; /*...
2,794
26.135922
223
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTModuleUsesDirective.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * A "uses" directive of a {@linkplain ASTModuleDeclaration module declaration}. * * <pre class="grammar"> * * ModuleUsesDirective ::= "uses" &lt;PACKAGE_NAME&gt; ";" * * </pre>...
808
21.472222
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTForUpdate.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * Update clause of a {@linkplain ASTForStatement for statement}. * * <pre class="grammar"> * * ForUpdate ::= {@linkplain ASTStatementExpressionList StatementExpressionList} * *...
785
22.117647
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTClassLiteral.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; /** * A class literal. Class literals are {@linkplain ASTPrimaryExpression primary expressions}, * but not proper {@linkplain...
967
25.888889
97
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTBlock.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken; import net.sourceforge.pmd.lang.java.ast.ASTList.ASTMaybeEmptyListOf; import net.sourceforge.pmd.lang.java.ast.InternalInterfa...
1,233
25.255319
88
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTAnnotation.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.Iterator; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.annotation.D...
4,047
30.874016
129
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ConstantFolder.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.apache.commons.lang3.tuple.Pair; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge....
19,590
35.346939
114
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTAnnotationTypeBody.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; public final class ASTAnnotationTypeBody extends ASTTypeBody { ASTAnnotationTypeBody(int id) { super(id); } @Override protected <P, R> R acceptVisitor(JavaVisito...
415
22.111111
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTMethodDeclaration.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken; import...
5,546
31.25
124
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTArrayInitializer.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.Iterator; /** * An array initializer. May occur in two syntactic contexts: * <ul> * <li>The right-hand side of a {@linkplain ASTVariableDeclarator variable declarato...
1,198
22.98
115
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTCatchParameter.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.Collection; import org.checkerframework.checker.nullness.qual.NonNull; import net.sourceforge.pmd.lang.ast.NodeStream; import net.sourceforge.pmd.lang.java.types.JInter...
2,723
28.608696
140
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/JavaComment.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.stream.Stream; import net.sourceforge.pmd.lang.ast.GenericToken; import net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken; import net.sourceforge.pmd.lang.ast.impl.ja...
5,578
30.519774
111
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTClassOrInterfaceType.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.Nullable; import net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken; import net.sourceforge.pmd.lang.java.symbols.JTypeDeclSymbol; imp...
6,455
31.119403
162
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTClassOrInterfaceDeclaration.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.List; import net.sourceforge.pmd.lang.ast.Node; /** * Represents class and interface declarations. * This is a {@linkplain Node#isFindBoundary() find boundary} for t...
2,385
26.425287
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTPatternExpression.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.java.ast.InternalInterfaces.AtLeastOneChild; /** * Wraps a {@link ASTPattern} node but presents the interface of {@link ASTExpression}. * This is only us...
1,544
25.637931
138
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/JavadocCommentOwner.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.Nullable; /** * A node that may own a javadoc comment. */ public interface JavadocCommentOwner extends JavaNode { // TODO can recor...
609
24.416667
79
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTLambdaParameter.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Formal parameter of a lambda expression. Child of {@link AST...
1,916
27.61194
153
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTRecordComponentList.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.java.ast.ASTList.ASTMaybeEmptyListOf; import net.sourceforge.pmd.lang.java.ast.InternalInterfaces.AllChildrenAreOfType; import net.sourceforge.pmd.lang.jav...
2,093
32.774194
144
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/AbstractStatement.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; abstract class AbstractStatement extends AbstractJavaNode implements ASTStatement { AbstractStatement(int id) { super(id); } }
277
18.857143
83
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/AbstractJavaTypeNode.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.NonNull; import net.sourceforge.pmd.lang.java.types.JTypeMirror; import net.sourceforge.pmd.lang.java.types.TypingContext; import net.so...
2,073
26.653333
88
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTSwitchStatement.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * Represents a {@code switch} statement. See {@link ASTSwitchLike} for * its grammar. */ public final class ASTSwitchStatement extends AbstractStatement implements ASTSwitchLike { ...
538
21.458333
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/AccessNode.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import static net.sourceforge.pmd.lang.java.ast.JModifier.STRICTFP; import java.util.Set; import org.checkerframework.checker.nullness.qual.NonNull; import net.sourceforge.pmd.lang.ast....
8,233
28.725632
119
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTSwitchGuard.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.annotation.Experimental; /** * A guard for refining a switch case in {@link ASTSwitchLabel}s. * This is a Java 19 Preview and Java 20 Preview language feature...
987
25
104
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTRecordComponent.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import net.sourceforge.pmd.lang.java.ast.InternalInterfaces.VariableIdOwner; import net.sourceforge.pmd.lang.java.symbols.JClassSymbol; import net.sourceforge.pmd.lang.java.symbols.JConst...
2,562
37.253731
145
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTArrayTypeDim.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * Represents an array dimension in an {@linkplain ASTArrayType array type}, * or in an {@linkplain ASTArrayAllocation array allocation expression}. * * <p>{@linkplain ASTArrayDimE...
1,261
25.851064
91
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTInfixExpression.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.Objects; import org.checkerframework.checker.nullness.qual.NonNull; import net.sourceforge.pmd.lang.java.ast.InternalInterfaces.AtLeastOneChild; import net.sourceforge.p...
2,397
25.644444
113
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTStringLiteral.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.List; import java.util.stream.Collectors; import org.checkerframework.checker.nullness.qual.NonNull; import net.sourceforge.pmd.lang.document.Chars; import net.sourcefo...
8,730
32.580769
107
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTModuleName.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * The name of a module. Module names look like package names, eg * {@code java.base}. */ public final class ASTModuleName extends AbstractJavaNode { ASTModuleName(int id) { ...
789
19.789474
88
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTArrayAllocation.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import org.checkerframework.checker.nullness.qual.Nullable; /** * An array creation expression. The dimensions of the array type may * be initialized with a length expression (in which...
1,421
24.854545
113
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTWhileStatement.java
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * Represents a {@code while} loop. * * <pre class="grammar"> * * WhileStatement ::= "while" "(" {@linkplain ASTExpression Expression} ")" {@linkplain ASTStatement Statement} * ...
882
21.641026
111
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTModifierList.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import static net.sourceforge.pmd.lang.java.ast.JModifier.ABSTRACT; import static net.sourceforge.pmd.lang.java.ast.JModifier.DEFAULT; import static net.sourceforge.pmd.lang.java.ast.JModi...
9,540
32.36014
104
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTTypeBody.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; /** * Body of a type declaration. * * <pre class="grammar"> * * TypeBody ::= {@link ASTClassOrInterfaceBody ClassOrInterfaceBody} * | {@link ASTEnumBody EnumBody} * ...
596
21.961538
79
java
pmd
pmd-master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTTypePattern.java
/* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.ast; import java.util.Objects; import org.checkerframework.checker.nullness.qual.NonNull; import net.sourceforge.pmd.annotation.Experimental; /** * A type pattern (JDK16). This can be found...
1,636
25.836066
150
java