Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CompilationUnit (0.09 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

        private String packageName;
    
        @Override
        public void visit(CompilationUnit compilationUnit, ClassMetaDataRepository<ClassMetaData> repository) {
            super.visit(compilationUnit, repository);
            compilationUnit.getImports().stream()
                .filter(anImport -> !anImport.isStatic())
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

        }
    
        private
        fun CompilationUnit.findAllIncubating() =
            findAll(Node::class.java).filter { it.isIncubating }
    
        private
        val Node.isIncubating: Boolean
            get() = (this as? NodeWithAnnotations<*>)?.annotations?.any { it.nameAsString == "Incubating" } ?: false
    
        private
        fun CompilationUnit.toVersionIncubating(sourceFile: File, node: Node) =
            Pair(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.sources
    
    import com.github.javaparser.JavaParser
    import com.github.javaparser.ast.CompilationUnit
    import com.github.javaparser.ast.visitor.GenericVisitor
    import org.gradle.util.internal.TextUtil.normaliseFileSeparators
    import org.jetbrains.kotlin.psi.KtFile
    import gradlebuild.basics.util.KotlinSourceParser
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top