--- old/src/share/classes/javax/lang/model/element/TypeElement.java 2012-01-18 16:39:30.000000000 -0800 +++ new/src/share/classes/javax/lang/model/element/TypeElement.java 2012-01-18 16:39:30.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -61,7 +61,12 @@ */ public interface TypeElement extends Element, Parameterizable, QualifiedNameable { /** - * {@inheritDoc} + * Returns the fields, methods, constructors, and member types + * that are directly declared in this class or interface. + * + * This includes any (implicit) default constructor and + * the implicit {@code values} and {@code valueOf} methods of an + * enum type. * *

Note that as a particular instance of the {@linkplain * javax.lang.model.element general accuracy requirements} and the @@ -75,6 +80,7 @@ * * @return the enclosed elements in proper order, or an empty list if none */ + @Override List getEnclosedElements(); /**