Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SourceMetaDataVisitor (0.21 sec)

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

    import java.util.ArrayList;
    import java.util.Deque;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Locale;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    public class SourceMetaDataVisitor extends VoidVisitorAdapter<ClassMetaDataRepository<ClassMetaData>> {
        private static final Pattern GETTER_METHOD_NAME = Pattern.compile("(get|is)(.+)");
    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/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

                throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile")
            }
            try {
                new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository)
            } catch (Exception e) {
                throw new DocGenerationException("Could not parse '$sourceFile'.", e)
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top