def getDeclaredFields(clas):
    """
    Returns an array of Field objects reflecting all the fields declared by
    the class or interface represented by this Class object.
    """
    return clas.__javaclass__.getDeclaredFields()
