- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isIsOrGet (0.13 sec)
-
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/MethodInvocation.java
this.viewType = viewType; this.delegate = delegate; this.parameters = parameters; } public boolean isGetter() { return parameterTypes.length == 0 && isIsOrGet(); } public boolean isIsOrGet() { return (name.startsWith("get") && name.length() > 3) || (name.startsWith("is") && name.length() > 2); } public Object[] getParameters() { return parameters; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java
@Override public void invoke(MethodInvocation invocation) throws Throwable { next.invoke(invocation); if (invocation.found() || invocation.getParameterTypes().length != 1 || !invocation.isIsOrGet()) { return; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 04:42:54 UTC 2024 - 45.4K bytes - Viewed (0)