Package org.gradle.api
Class Named.Namer
- java.lang.Object
-
- org.gradle.api.Named.Namer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gradle.api.Namer
Namer.Comparator<T>
-
-
Constructor Summary
Constructors Constructor Description Namer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
determineName(Named object)
Determines the name of the given object.static <T> Namer<? super T>
forType(java.lang.Class<? extends T> type)
-
-
-
Method Detail
-
determineName
public java.lang.String determineName(Named object)
Description copied from interface:Namer
Determines the name of the given object.- Specified by:
determineName
in interfaceNamer<Named>
- Parameters:
object
- The object to determine the name of- Returns:
- The object's inherent name. Never null.
-
forType
public static <T> Namer<? super T> forType(java.lang.Class<? extends T> type)
-
-