- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 934 for Reflection (0.33 sec)
-
platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/antlr2/GrammarDelegate.java
/** * Antlr defines its {@link antlr.preprocessor.Grammar} class as package-protected for some unfortunate reason. So this class acts as a delegate to the Antlr {@link antlr.preprocessor.Grammar} class, * hiding all the ugly necessary reflection code. */ public class GrammarDelegate { public static List<GrammarDelegate> extractGrammarDelegates(GrammarFile antlrGrammarFile) { List<GrammarDelegate> grammarDelegates = new ArrayList<GrammarDelegate>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 5.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedRelocationIntegrationTest.groovy
doFirst { printScriptOrigin("Action", owner) } } def printScriptOrigin(def title, def o) { // need to get through reflection to bypass the Groovy MOP on closures, which would cause calling the method on the owner instead of the closure itself def type = o.getClass()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
Class<?> optionalClass = Class.forName("java.util.Optional"); /* * We don't *need* to use reflection to access Optional: It's available on all JDKs we * support, and Android code won't get this far, anyway, because ProcessHandle is * unavailable. But given how much other reflection we're using, we might as well use it * here, too, so that we don't need to also suppress an AndroidApiChecker error.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 12.5K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/compile/GroovyCompileOptions.java
} /** * Whether the Groovy compiler generate metadata for reflection on method parameter names on JDK 8 and above. * * @since 6.1 */ @Input public boolean isParameters() { return parameters; } /** * Sets whether metadata for reflection on method parameter names should be generated. * Defaults to {@code false} *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Parameter.java
* compatibility problems on Android VMs. The corresponding accessor method, however, can have the * more specific return type as long as users are careful to guard calls to it with version checks * or reflection: Android VMs ignore the types of elements that aren't used. */ private final @Nullable Object annotatedType; Parameter( Invokable<?, ?> declaration, int position, TypeToken<?> type,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 16 15:12:31 UTC 2023 - 4.3K bytes - Viewed (0) -
pkg/kube/krt/helpers.go
func (n Named) GetNamespace() string { return n.Namespace } // GetApplyConfigKey returns the key for the ApplyConfig. // If there is none, this will return nil. func GetApplyConfigKey[O any](a O) *Key[O] { // Reflection is expensive; short circuit here if !strings.HasSuffix(ptr.TypeName[O](), "ApplyConfiguration") { return nil } val := reflect.ValueOf(a) if val.Kind() == reflect.Ptr { val = val.Elem() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
* Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}. * * @since 12.0 */ @GwtIncompatible // reflection public static Field getField(Enum<?> enumValue) { Class<?> clazz = enumValue.getDeclaringClass(); try { return clazz.getDeclaredField(enumValue.name());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 26 11:56:44 UTC 2023 - 5K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/failure/TestFailureMapper.java
* <p> * Implementors of this class should not depend on classes outside the standard library, as there is no guarantee that they will be on the test VM's classpath. * Instead, they should rely completely on reflection. */ @NonNullApi public abstract class TestFailureMapper { /** * Decides whether this mapper supports the given {@link Throwable}.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 14:48:53 UTC 2024 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
* can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddNullSupportedMethod() { return Helpers.getMethod(ListAddAtIndexTester.class, "testAddAtIndex_nullSupported"); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 5.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/StartParameterInternal.java
} public void setVfsVerboseLogging(boolean vfsVerboseLogging) { this.vfsVerboseLogging = vfsVerboseLogging; } /** * Used by the Kotlin plugin, via reflection. */ @Deprecated public boolean isConfigurationCache() { return getConfigurationCache().get(); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 29 08:08:36 UTC 2023 - 8.1K bytes - Viewed (0)