- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for OriginatingElement (0.32 sec)
-
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/ElementUtils.java
typeNames.add(topLevelTypeName); } } return typeNames; } public static String getTopLevelTypeName(Element originatingElement) { Element current = originatingElement; Element parent = originatingElement; while (parent != null && !(parent instanceof PackageElement)) { current = parent; parent = current.getEnclosingElement(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AddGeneratedClassNameFlagFromClassLevelAnnotation.java
.getByType(OriginatingElement.class) .map(OriginatingElement::getElement); if (!maybeOriginatingElement.isPresent()) { return false; } ExecutableElement originatingElement = maybeOriginatingElement.get(); return AnnotationUtils.findMetaAnnotationMirror(originatingElement, annotationType).isPresent(); }; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 13:39:36 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/processing/AnnotationProcessingResult.java
public void addGeneratedType(String name, Set<String> originatingElements) { for (String originatingElement : originatingElements) { Set<String> derived = generatedTypesByOrigin.get(originatingElement); if (derived == null) { derived = new LinkedHashSet<>(); generatedTypesByOrigin.put(originatingElement, derived); } derived.add(name); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/InstrumentationCodeGeneratorHost.java
Optional.ofNullable(details.request) .flatMap(presentRequest -> presentRequest.getRequestExtras().getByType(OriginatingElement.class).map(OriginatingElement::getElement)); if (maybeOriginatingElement.isPresent()) { messager.printMessage(Diagnostic.Kind.ERROR, details.reason, maybeOriginatingElement.get()); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/features/withstaticreference/WithExtensionReferencesReader.java
if (shouldPostProcess(originalRequest)) { originalRequest.getRequestExtras().getByType(RequestExtra.OriginatingElement.class).ifPresent(originatingElement -> { ExecutableElement element = originatingElement.getElement(); AnnotationUtils.findAnnotationMirror(element, WithExtensionReferences.class).ifPresent(annotation ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/model/RequestExtra.java
return interceptorType; } } class OriginatingElement implements RequestExtra { private final ExecutableElement element; public ExecutableElement getElement() { return element; } public OriginatingElement(ExecutableElement element) { this.element = element; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 13:39:36 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/AnnotationCallInterceptionRequestReaderImpl.java
import org.gradle.internal.instrumentation.model.ParameterKindInfo; import org.gradle.internal.instrumentation.model.RequestExtra; import org.gradle.internal.instrumentation.model.RequestExtra.OriginatingElement; import org.gradle.internal.instrumentation.processor.extensibility.AnnotatedMethodReaderExtension; import org.objectweb.asm.Type; import javax.annotation.Nonnull; import javax.annotation.Nullable;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 09:48:42 UTC 2023 - 13K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java
String interceptorsClassName = getGroovyInterceptorsClassName(); List<RequestExtra> extras = Arrays.asList(new RequestExtra.OriginatingElement(method), new RequestExtra.InterceptGroovyCalls(interceptorsClassName, BYTECODE_UPGRADE));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 24.6K bytes - Viewed (0)