T
- type of the object these interfaces are implemented bypublic class Interfaces<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Interfaces.Builder<T>
Interfaces builder.
|
Modifier and Type | Method and Description |
---|---|
static <T> Interfaces<T> |
all(Class<T> subject)
Extracts all interfaces implemented by the given
subject . |
static <T> Interfaces.Builder<T> |
createBuilder()
Creates an interfaces builder.
|
Set<Class<?>> |
get()
Returns the interfaces.
|
static <T> Interfaces<T> |
single(Class<? super T> subject)
Extracts all interfaces implemented by the given
subject . |
public static <T> Interfaces<T> all(Class<T> subject)
subject
.subject
- subject to get interfaces forsubject
public static <T> Interfaces<T> single(Class<? super T> subject)
subject
.subject
- subject to get interfaces forsubject
public static <T> Interfaces.Builder<T> createBuilder()
Copyright © 2015. All Rights Reserved.