[webbeans-issues] [JBoss JIRA] Commented: (WBRI-22) Somehow detect if an implementation class is an inner class
Diego Coronel (JIRA)
jira-events at lists.jboss.org
Thu Aug 7 08:40:50 EDT 2008
[ https://jira.jboss.org/jira/browse/WBRI-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12424033#action_12424033 ]
Diego Coronel commented on WBRI-22:
-----------------------------------
I want to help looking for docs to you guys and i found this:
/**
Class cls = Inner.class;
/**
Returns true if and only if the underlying class is a member class.
*/
System.out.println(cls.isMemberClass());
/**
public Class<?> getDeclaringClass()
If the class or interface represented by this Class object is a member
of another class, returns the Class object representing the class in which
it was declared. This method returns null if this class or interface is
not a member of any other class. If this Class object represents an
array class, a primitive type, or void,then this method returns null.
*/
System.out.println(cls.getDeclaringClass());
*/
but i dont know if is it you are looking for. If not and you can say what do you expect ill continue to look for it.
> Somehow detect if an implementation class is an inner class
> -----------------------------------------------------------
>
> Key: WBRI-22
> URL: https://jira.jboss.org/jira/browse/WBRI-22
> Project: Web Beans RI
> Issue Type: Task
> Reporter: Pete Muir
>
> See 3.1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list