- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getStaticProperty (0.39 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/JavaMethodTest.groovy
then: JavaMethod.ofStatic(myProperties.class, String, "getStaticProperty").invokeStatic() == "foo" } def "static methods are identifiable" () { expect: JavaMethod.ofStatic(myProperties.class, Void, "setStaticProperty", String.class).isStatic() JavaMethod.ofStatic(myProperties.class, String, "getStaticProperty").isStatic()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/JavaMethodTestSubject.java
private static String myStaticProperty; final IllegalStateException failure = new IllegalStateException(); private String myProp = "myValue"; public static String getStaticProperty() { return myStaticProperty; } public static void setStaticProperty(String value) { myStaticProperty = value; } public String doSomeStuff(int a, Integer b) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaTestSubject.java
} public boolean getMyOtherBooleanProperty() { return true; } public String isNotABooleanProperty() { return null; } public static String getStaticProperty() { return myStaticProperty; } public static void setStaticProperty(String value) { myStaticProperty = value; } public void getVoidProperty() { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.4K bytes - Viewed (0)