package org.hibernate.metamodel.internal;
import java.lang.reflect.Member;
import java.lang.reflect.Modifier;
public class MapMember implements Member {
private String name;
private final Class<?> type;
public MapMember(String name, Class<?> type) {
this.name = name;
this.type = type;
}
public Class<?> getType() {
return type;
}
public int getModifiers() {
return Modifier.PUBLIC;
}
public boolean isSynthetic() {
return false;
}
public String getName() {
return name;
}
public Class<?> getDeclaringClass() {
return null;
}
}