@SuppressWarnings("unchecked")
    public <T extends Annotation> T getAnnotation(Class<T> type) {
        return (T) annotations.get(type);
    }
{@code Property} represents a property in a query domain type.

@author tiwe
querydsl-codegen/src/main/java/com/querydsl/codegen/Property.java