QDox

Add isPrimitive() method to Type

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.1, 1.2, 1.3, 1.4, 1.5
  • Fix Version/s: 1.6
  • Component/s: Java API
  • Labels:
    None
  • Number of attachments :
    0

Description

Please add the following method to Type class:

public boolean isPrimitve() {
String value = getValue();
return "int".equals(value) || "long".equals(value) || ....
}

Activity

Hide
Mike Williams added a comment -

Seems reasonable.

Show
Mike Williams added a comment - Seems reasonable.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
1h
Original Estimate - 1 hour
Remaining:
1h
Remaining Estimate - 1 hour
Logged:
Not Specified
Time Spent - Not Specified