Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Modifiers | Name | Description |
---|---|---|
static @interface |
DelegatesTo.Target |
Type | Name and Description |
---|---|
int |
genericTypeIndex @default 1 |
int |
strategy @default Closure.OWNER_FIRST |
String |
target @default "" |
String |
type The type member should be used when the type of the delagate cannot be represented with value(), genericTypeIndex() or target(). |
Class |
value @default Target.class |
@default 1
@default Closure.OWNER_FIRST
@default ""
The type member should be used when the type of the delagate cannot be represented with value(), genericTypeIndex() or target(). In this case, it is possible to use a String to represent the type, at the cost of potential uncatched errors at compile time if the type is invalid and increased compile time. @default ""
@default Target.class